summaryrefslogtreecommitdiff
path: root/source3/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
commitee17580c85b6de40ca6911ab7a6b158cd69ca692 (patch)
treee034840cc3a7935b55d897e37506f77de6084772 /source3/libsmb
parentf141ad1a96453d3fc5fe5e99685b44ffc2e6cc7a (diff)
downloadsamba-ee17580c85b6de40ca6911ab7a6b158cd69ca692.tar.gz
samba-ee17580c85b6de40ca6911ab7a6b158cd69ca692.tar.bz2
samba-ee17580c85b6de40ca6911ab7a6b158cd69ca692.zip
Make intent to return only one address clear.
Jeremy. (This used to be commit d3d0353baeba580d8a7a4688f847463b1b2e750c)
Diffstat (limited to 'source3/libsmb')
-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 */