1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r14372: fix bug found by sparse

metze
(This used to be commit da1ac9b224)
This commit is contained in:
Stefan Metzmacher 2006-03-14 12:56:59 +00:00 committed by Gerald (Jerry) Carter
parent 2d404f2934
commit add7ba54c1

View File

@ -242,7 +242,7 @@ struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
status = resolve_name(&nbt_name, tmp_ctx, &address, event_ctx);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(tmp_ctx);
return False;
return NULL;
}
status = smbcli_sock_connect(mem_ctx, address, port, name, event_ctx,