svn commit: samba r18256 - in branches/SAMBA_4_0/source/libcli/ldap: .

tridge at samba.org tridge at samba.org
Fri Sep 8 06:04:10 GMT 2006


Author: tridge
Date: 2006-09-08 06:04:10 +0000 (Fri, 08 Sep 2006)
New Revision: 18256

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

Log:

use the right status variable

Modified:
   branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c	2006-09-08 05:45:23 UTC (rev 18255)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c	2006-09-08 06:04:10 UTC (rev 18256)
@@ -405,10 +405,9 @@
 				struct ldap_connect_state);
 	struct ldap_connection *conn = state->conn;
 	uint16_t port;
-
 	NTSTATUS status = socket_connect_multi_recv(ctx, state, &conn->sock,
 						       &port);
-	if (!NT_STATUS_IS_OK(state->ctx->status)) {
+	if (!NT_STATUS_IS_OK(status)) {
 		composite_error(state->ctx, status);
 		return;
 	}



More information about the samba-cvs mailing list