diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-03 22:34:46 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-03 22:34:46 -0700 |
commit | 51a0354d751f48a2542984c81e218da33669bbeb (patch) | |
tree | 27e620eb5d4e72e2a07591645680e6776491702b /source3/lib/wins_srv.c | |
parent | 56aa420195f4bf8007fbbbe362dbaf961a97f423 (diff) | |
download | samba-51a0354d751f48a2542984c81e218da33669bbeb.tar.gz samba-51a0354d751f48a2542984c81e218da33669bbeb.tar.bz2 samba-51a0354d751f48a2542984c81e218da33669bbeb.zip |
Remove more static data from lib/util_sock.c and
callers.
Jeremy.
(This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
Diffstat (limited to 'source3/lib/wins_srv.c')
-rw-r--r-- | source3/lib/wins_srv.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/lib/wins_srv.c b/source3/lib/wins_srv.c index 0fb0648fec..0e184a6b7c 100644 --- a/source3/lib/wins_srv.c +++ b/source3/lib/wins_srv.c @@ -183,14 +183,16 @@ static void parse_ip(struct tagged_ip *ip, const char *str) char *s = strchr(str, ':'); if (!s) { fstrcpy(ip->tag, "*"); - ip->ip = *interpret_addr2(str); + (void)interpret_addr2(&ip->ip,str); return; } - ip->ip = *interpret_addr2(s+1); + (void)interpret_addr2(&ip->ip,s+1); fstrcpy(ip->tag, str); s = strchr(ip->tag, ':'); - if (s) *s = 0; + if (s) { + *s = 0; + } } |