[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-644-gcf221a9
James Peach
jpeach at samba.org
Fri Dec 14 06:12:29 GMT 2007
The branch, v3-2-test has been updated
via cf221a94bd8794add508a2b9305b8c0d40c3346a (commit)
from 0de2b3eb515f2da21ffd1ce54979bb1f8063024b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit cf221a94bd8794add508a2b9305b8c0d40c3346a
Author: James Peach <jpeach at samba.org>
Date: Thu Dec 13 22:12:21 2007 -0800
Move dns_sd.h include to fix the build.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/dnsregister.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/dnsregister.c b/source/smbd/dnsregister.c
index fcd97b5..44bd39f 100644
--- a/source/smbd/dnsregister.c
+++ b/source/smbd/dnsregister.c
@@ -18,7 +18,6 @@
*/
#include <includes.h>
-#include <dns_sd.h>
/* Uses DNS service discovery (libdns_sd) to
* register the SMB service. SMB service is registered
@@ -31,13 +30,15 @@
#define DNS_REG_RETRY_INTERVAL (5*60) /* in seconds */
+#ifdef WITH_DNSSD_SUPPORT
+
+#include <dns_sd.h>
+
struct dns_reg_state {
DNSServiceRef srv_ref;
struct timed_event *retry_handler;
};
-#ifdef WITH_DNSSD_SUPPORT
-
void dns_register_close(struct dns_reg_state **dns_state_ptr)
{
int mdnsd_conn_fd;
--
Samba Shared Repository
More information about the samba-cvs
mailing list