summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_conn_connect.c')
-rw-r--r--src/nxt_conn_connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conn_connect.c b/src/nxt_conn_connect.c
index a5736226..12b6c80c 100644
--- a/src/nxt_conn_connect.c
+++ b/src/nxt_conn_connect.c
@@ -156,7 +156,7 @@ nxt_conn_connect_test(nxt_task_t *task, void *obj, void *data)
nxt_log(task, nxt_socket_error_level(err), "connect(%d, %*s) failed %E",
c->socket.fd, (size_t) c->remote->length,
- nxt_sockaddr_start(c->remote));
+ nxt_sockaddr_start(c->remote), err);
nxt_conn_connect_error(task, c, data);
}