diff --git a/server/http_server.c b/server/http_server.c index f71c9b7..9a1f0f8 100644 --- a/server/http_server.c +++ b/server/http_server.c @@ -24,7 +24,8 @@ void handle_signal(int signal) { int main(int argc, char* argv[]) { if (argc != 2) { - printf("%s", USAGE_STRING); + printf("%s\n", USAGE_STRING); + return 1; } char *port = argv[1]; long port_num = strtol(port, NULL, 10);