svn commit: samba r14372 - in branches/SAMBA_4_0/source/libcli/raw: .

metze at samba.org metze at samba.org
Tue Mar 14 12:57:00 GMT 2006


Author: metze
Date: 2006-03-14 12:56:59 +0000 (Tue, 14 Mar 2006)
New Revision: 14372

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14372

Log:
fix bug found by sparse

metze
Modified:
   branches/SAMBA_4_0/source/libcli/raw/clisocket.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/clisocket.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/clisocket.c	2006-03-14 12:53:56 UTC (rev 14371)
+++ branches/SAMBA_4_0/source/libcli/raw/clisocket.c	2006-03-14 12:56:59 UTC (rev 14372)
@@ -242,7 +242,7 @@
 	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,



More information about the samba-cvs mailing list