From 7fb7cfc8ee4c28e59d0376c2ecd048f2292f72c0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 6 Jun 2009 21:43:53 +0200 Subject: [PATCH] Fix bug 6441 -- fix the compile with --enable-dnssd The server side of dnssd has been replaced with native avahi support. The code is only left in in case some OS/X fan wants to revive it, and the client-side has not been converted yet. Fix the build of the server side by removing the #ifdef --- source/smbd/server.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/source/smbd/server.c b/source/smbd/server.c index b05758e..2415aeb 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -590,10 +590,6 @@ static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_ /* Kick off our mDNS registration. */ if (dns_port != 0) { -#ifdef WITH_DNSSD_SUPPORT - dns_register_smbd(&dns_reg, dns_port, &maxfd, - &r_fds, &idle_timeout); -#endif #ifdef WITH_AVAHI_SUPPORT void *avahi_conn; avahi_conn = avahi_start_register( -- 1.6.0.1