diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index af4575919..99c311e1f 100644 --- a/src/worker.c +++ b/src/worker.c @@ -254,7 +254,7 @@ accept_socket (int fd, short what, void *arg) struct worker_task *new_task; socklen_t addrlen = sizeof(ss); int nfd; - + if ((nfd = accept_from_socket (fd, (struct sockaddr *)&ss, &addrlen)) == -1) { msg_warn ("accept_socket: accept failed: %s", strerror (errno)); return; |