git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40cf47f
)
r18256: use the right status variable
author
Andrew Tridgell
<tridge@samba.org>
Fri, 8 Sep 2006 06:04:10 +0000
(06:04 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:17:57 +0000
(14:17 -0500)
(This used to be commit
f4b4bd945f5c3955aab0c3cf89ad6cdda7529dac
)
source4/libcli/ldap/ldap_client.c
patch
|
blob
|
history
diff --git
a/source4/libcli/ldap/ldap_client.c
b/source4/libcli/ldap/ldap_client.c
index bc230879fc956d0d55e671efa7668dc3baaf782d..da1ffcd317d3e3c9c6fd4d84705cbfaa08acfe24 100644
(file)
--- a/
source4/libcli/ldap/ldap_client.c
+++ b/
source4/libcli/ldap/ldap_client.c
@@
-405,10
+405,9
@@
static void ldap_connect_recv_tcp_conn(struct composite_context *ctx)
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(stat
e->ctx->stat
us)) {
+ if (!NT_STATUS_IS_OK(status)) {
composite_error(state->ctx, status);
return;
}