summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-08-28 15:38:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:18 -0500
commitd68a5c2718498a36ff3b7bc25ec9f2ebbb19b85d (patch)
tree1b730f4f2279ed32a89050c9c59ab6214e62aec9
parent52cd23c92a21edd7b70a0f7b3aca0176bdf520c7 (diff)
downloadsamba-d68a5c2718498a36ff3b7bc25ec9f2ebbb19b85d.tar.gz
samba-d68a5c2718498a36ff3b7bc25ec9f2ebbb19b85d.tar.bz2
samba-d68a5c2718498a36ff3b7bc25ec9f2ebbb19b85d.zip
r24750: Fix one more caller of name_resolve_bcast().
Michael (This used to be commit 757b5c1bd7ff3d6bbf99753c1b617338ee837531)
-rw-r--r--source3/libsmb/libsmbclient.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index dd3cbfc621..8d6ad57d90 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -2665,7 +2665,9 @@ smbc_opendir_ctx(SMBCCTX *context,
*/
ip_list = NULL;
- if (!name_resolve_bcast(MSBROWSE, 1, &ip_list, &count)) {
+ if (!NT_STATUS_IS_OK(name_resolve_bcast(MSBROWSE, 1, &ip_list,
+ &count)))
+ {
SAFE_FREE(ip_list);