diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-08 06:04:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:57 -0500 |
commit | d7534e0cc772b9aa0b7cdeb0ed4469e44173348f (patch) | |
tree | 602bcf6b8373e30cfc303fff07c2f390d253d1b7 /source4/libcli/ldap | |
parent | 40cf47fa568e3f95cfc10d99a03e245948e42648 (diff) | |
download | samba-d7534e0cc772b9aa0b7cdeb0ed4469e44173348f.tar.gz samba-d7534e0cc772b9aa0b7cdeb0ed4469e44173348f.tar.bz2 samba-d7534e0cc772b9aa0b7cdeb0ed4469e44173348f.zip |
r18256: use the right status variable
(This used to be commit f4b4bd945f5c3955aab0c3cf89ad6cdda7529dac)
Diffstat (limited to 'source4/libcli/ldap')
-rw-r--r-- | source4/libcli/ldap/ldap_client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c index bc230879fc..da1ffcd317 100644 --- 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(state->ctx->status)) { + if (!NT_STATUS_IS_OK(status)) { composite_error(state->ctx, status); return; } |