aboutsummaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index 98e6118..63ef726 100644
--- a/handler.c
+++ b/handler.c
@@ -220,7 +220,7 @@ int handler_notify_close(struct handler *const h)
int handler_listen(struct handler *const h, const unsigned short port,
unsigned short *const outport)
{
- if (!(h->server = server_init(port, outport)))
+ if (!(h->server = server_init(port, outport, h->cfg.backlog)))
{
fprintf(stderr, "%s: server_init failed\n", __func__);
return -1;