summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-09 02:29:27 +0000
committerJeremy Allison <jra@samba.org>2003-12-09 02:29:27 +0000
commitd3d0353baeba580d8a7a4688f847463b1b2e750c (patch)
treeba5b8fda470f5a407797012ce9672202f95d655e /source/libsmb
parent6cf91bce40f85879de00b9ce89ad9b5e04a50b35 (diff)
downloadsamba-d3d0353baeba580d8a7a4688f847463b1b2e750c.tar.gz
samba-d3d0353baeba580d8a7a4688f847463b1b2e750c.tar.xz
samba-d3d0353baeba580d8a7a4688f847463b1b2e750c.zip
Make intent to return only one address clear.
Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/namequery.c4
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 */