summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_sendannounce.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 20:50:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 20:50:59 +0200
commit215b84903ed202e69241d9fd9494fdc95e911efc (patch)
treeadb66c63498eb1c3e2e165684a123207c9d5c5d3 /source3/nmbd/nmbd_sendannounce.c
parent09065795d6e5c48a8b3b536224552f18d68cfb84 (diff)
parent7577d9ebf06fcdb630b2cdaab8772a6da9e37b70 (diff)
downloadsamba-215b84903ed202e69241d9fd9494fdc95e911efc.tar.gz
samba-215b84903ed202e69241d9fd9494fdc95e911efc.tar.bz2
samba-215b84903ed202e69241d9fd9494fdc95e911efc.zip
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source3/nmbd/nmbd_sendannounce.c')
-rw-r--r--source3/nmbd/nmbd_sendannounce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_sendannounce.c b/source3/nmbd/nmbd_sendannounce.c
index 3cc9bb52b0..d5a7ba58fd 100644
--- a/source3/nmbd/nmbd_sendannounce.c
+++ b/source3/nmbd/nmbd_sendannounce.c
@@ -490,7 +490,7 @@ void announce_remote(time_t t)
else
wgroup = pwgroup;
- (void)interpret_addr2(&addr,s2);
+ addr = interpret_addr2(s2);
/* Announce all our names including aliases */
/* Give the ip address as the address of our first
@@ -574,7 +574,7 @@ for workgroup %s on subnet %s.\n", lp_workgroup(), FIRST_SUBNET->subnet_name ));
frame = talloc_stackframe();
for (ptr=s; next_token_talloc(frame,&ptr,&s2,NULL); ) {
/* The entries are of the form a.b.c.d */
- (void)interpret_addr2(&addr,s2);
+ addr = interpret_addr2(s2);
DEBUG(5,("announce_remote: Doing remote browse sync announce for server %s to IP %s.\n",
global_myname(), inet_ntoa(addr) ));