diff options
Diffstat (limited to 'source4/lib/socket')
-rw-r--r-- | source4/lib/socket/connect.c | 2 | ||||
-rw-r--r-- | source4/lib/socket/connect_multi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c index 1ab4892128..116a8c67d8 100644 --- a/source4/lib/socket/connect.c +++ b/source4/lib/socket/connect.c @@ -138,7 +138,7 @@ struct composite_context *socket_connect_send(struct socket_context *sock, return result; failed: - composite_trigger_error(result); + composite_error(result, result->status); return result; } diff --git a/source4/lib/socket/connect_multi.c b/source4/lib/socket/connect_multi.c index 3948c1e2a1..258560cec5 100644 --- a/source4/lib/socket/connect_multi.c +++ b/source4/lib/socket/connect_multi.c @@ -119,7 +119,7 @@ struct composite_context *socket_connect_multi_send(TALLOC_CTX *mem_ctx, return result; failed: - composite_trigger_error(result); + composite_error(result, result->status); return result; } |