mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3: libsmb: Cleanup - use helper 'ok' bool for name_resolve_bcast().
No logic change. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
This commit is contained in:
parent
d48d60595a
commit
4abcb3001e
@ -2755,9 +2755,10 @@ NTSTATUS internal_resolve_name(const char *name,
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
continue;
|
||||
}
|
||||
if (!convert_ss2service(return_iplist,
|
||||
ok = convert_ss2service(return_iplist,
|
||||
ss_list,
|
||||
return_count)) {
|
||||
return_count);
|
||||
if (!ok) {
|
||||
status = NT_STATUS_NO_MEMORY;
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user