summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-09 02:29:24 +0000
committerJeremy Allison <jra@samba.org>2003-12-09 02:29:24 +0000
commit967fb3ec500e534d6dc54bcfe49af2cb1376bb1a (patch)
tree322cab75afb3fd42b6f0e6cb94822464da8a0503
parentb17feb14741c4b295b6fe2282ed764dabd0a31cd (diff)
downloadsamba-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.c4
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 */