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 d045853f..220fb5f9 100644
--- a/src/nxt_conn_connect.c
+++ b/src/nxt_conn_connect.c
@@ -108,7 +108,7 @@ nxt_conn_socket(nxt_task_t *task, nxt_conn_t *c)
c->write_timer.task = task;
if (c->local != NULL) {
- if (nxt_slow_path(nxt_socket_bind(task, s, c->local, 0) != NXT_OK)) {
+ if (nxt_slow_path(nxt_socket_bind(task, s, c->local) != NXT_OK)) {
nxt_socket_close(task, s);
return NXT_ERROR;
}