git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2403b31
)
Fix a couple of warnings in mDNS registration. One of these is an
author
James Peach
<jpeach@samba.org>
Thu, 20 Dec 2007 06:33:43 +0000
(22:33 -0800)
committer
James Peach
<jpeach@samba.org>
Thu, 20 Dec 2007 06:33:43 +0000
(22:33 -0800)
actual bug where we pass a pointer instead of a pointer to a pointer.
(This used to be commit
36db6755103f01cb74bf4194fc81ca6d4b5320e4
)
source3/smbd/dnsregister.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dnsregister.c
b/source3/smbd/dnsregister.c
index 44bd39f64e9353c7b3335a9fefd79b7572fb264d..2319097ca564bd6371b4541c050b871c0070c7ec 100644
(file)
--- a/
source3/smbd/dnsregister.c
+++ b/
source3/smbd/dnsregister.c
@@
-41,7
+41,6
@@
struct dns_reg_state {
void dns_register_close(struct dns_reg_state **dns_state_ptr)
{
- int mdnsd_conn_fd;
struct dns_reg_state *dns_state = *dns_state_ptr;
if (dns_state == NULL) {
@@
-74,7
+73,7
@@
static void dns_register_smbd_retry(struct event_context *ctx,
/* Clear previous registration state to force new
* registration attempt. Clears event handler.
*/
- dns_register_close(dns_state);
+ dns_register_close(
&
dns_state);
}
static void schedule_dns_register_smbd_retry(struct dns_reg_state *dns_state,