diff options
author | Jeremy Allison <jra@samba.org> | 2003-12-09 02:29:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-12-09 02:29:24 +0000 |
commit | 967fb3ec500e534d6dc54bcfe49af2cb1376bb1a (patch) | |
tree | 322cab75afb3fd42b6f0e6cb94822464da8a0503 | |
parent | b17feb14741c4b295b6fe2282ed764dabd0a31cd (diff) | |
download | samba-967fb3ec500e534d6dc54bcfe49af2cb1376bb1a.tar.gz samba-967fb3ec500e534d6dc54bcfe49af2cb1376bb1a.tar.bz2 samba-967fb3ec500e534d6dc54bcfe49af2cb1376bb1a.zip |
Make intent to return only one address clear.
Jeremy.
(This used to be commit 08b6b1e43ce354cfb77701c8953565e1163ff76b)
-rw-r--r-- | source3/libsmb/namequery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 1de7413711..c7cc4848b7 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1006,9 +1006,9 @@ static BOOL internal_resolve_name(const char *name, int name_type, } } else { (*return_iplist)->ip.s_addr = allones ? 0xFFFFFFFF : 0; - *return_count = 1; } - return True; + *return_count = 1; + return True; } /* Check name cache */ |