Do not omit argument name
This caused compilation to fail on the VM.
This commit is contained in:
parent
322904f6ea
commit
ab1c764902
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ int run_server(const char **port_str) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sigint_handler(int) {
|
void sigint_handler(int sig) {
|
||||||
fprintf(stderr, "Gracefully shutting down...\n");
|
fprintf(stderr, "Gracefully shutting down...\n");
|
||||||
|
|
||||||
if (shutdown(sd, 2) != 0) {
|
if (shutdown(sd, 2) != 0) {
|
||||||
|
@ -54,4 +54,4 @@ int main(int argc, char **argv) {
|
||||||
teardown_frames();
|
teardown_frames();
|
||||||
|
|
||||||
return socket_res;
|
return socket_res;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue