aboutsummaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/handler.c b/handler.c
index 73ac9ab..795d503 100644
--- a/handler.c
+++ b/handler.c
@@ -233,7 +233,7 @@ int handler_listen(struct handler *const h, const short port)
for (;;)
{
bool exit, io;
- struct server_client *const c = server_select(h->server, &io, &exit);
+ struct server_client *const c = server_poll(h->server, &io, &exit);
if (exit)
{
@@ -242,7 +242,7 @@ int handler_listen(struct handler *const h, const short port)
}
else if (!c)
{
- fprintf(stderr, "%s: server_select failed\n", __func__);
+ fprintf(stderr, "%s: server_poll failed\n", __func__);
return -1;
}