mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r18256: use the right status variable
(This used to be commit f4b4bd945f5c3955aab0c3cf89ad6cdda7529dac)
This commit is contained in:
parent
40cf47fa56
commit
d7534e0cc7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user