1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r24750: Fix one more caller of name_resolve_bcast().

Michael
This commit is contained in:
Michael Adam 2007-08-28 15:38:03 +00:00 committed by Gerald (Jerry) Carter
parent d82c1638b8
commit 757b5c1bd7

View File

@ -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);