summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 80abea9..5dd3201 100644
--- a/main.c
+++ b/main.c
@@ -26,7 +26,7 @@ int main() {
sigaction(SIGPIPE, &(struct sigaction){SIG_IGN}, NULL);
server_t server = server_create(SERVER_PORT);
- server_listen(&server);
+ server_start(&server);
return EXIT_SUCCESS;
}