diff options
author | Jeremy Allison <jra@samba.org> | 2003-12-09 02:29:27 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-12-09 02:29:27 +0000 |
commit | d3d0353baeba580d8a7a4688f847463b1b2e750c (patch) | |
tree | ba5b8fda470f5a407797012ce9672202f95d655e | |
parent | 6cf91bce40f85879de00b9ce89ad9b5e04a50b35 (diff) | |
download | samba-d3d0353baeba580d8a7a4688f847463b1b2e750c.tar.gz samba-d3d0353baeba580d8a7a4688f847463b1b2e750c.tar.xz samba-d3d0353baeba580d8a7a4688f847463b1b2e750c.zip |
Make intent to return only one address clear.
Jeremy.
-rw-r--r-- | source/libsmb/namequery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c index 1de74137117..c7cc4848b70 100644 --- a/source/libsmb/namequery.c +++ b/source/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 */ |