Do not omit argument name

This caused compilation to fail on the VM.
This commit is contained in:
akp 2023-11-12 01:25:33 +00:00
parent 322904f6ea
commit ab1c764902

View file

@ -19,7 +19,7 @@ int run_server(const char **port_str) {
return 0;
}
void sigint_handler(int) {
void sigint_handler(int sig) {
fprintf(stderr, "Gracefully shutting down...\n");
if (shutdown(sd, 2) != 0) {