summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-14 12:56:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:15 -0500
commitadd7ba54c1cbf0c2d3d6ef3230903a08522e8c33 (patch)
tree67b609950695c55be24d0cca4cb5acd53f3df874 /source4/libcli/raw
parent2d404f2934f59141bb2941f8f3d77546efcd199c (diff)
downloadsamba-add7ba54c1cbf0c2d3d6ef3230903a08522e8c33.tar.gz
samba-add7ba54c1cbf0c2d3d6ef3230903a08522e8c33.tar.bz2
samba-add7ba54c1cbf0c2d3d6ef3230903a08522e8c33.zip
r14372: fix bug found by sparse
metze (This used to be commit da1ac9b2243d0217c2d29879d885d62be9ddd290)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/clisocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clisocket.c b/source4/libcli/raw/clisocket.c
index 4b1d70d8d2..0631d55a9c 100644
--- a/source4/libcli/raw/clisocket.c
+++ b/source4/libcli/raw/clisocket.c
@@ -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,