diff --git a/server_main.c b/server_main.c index e69a99b..e3f3aeb 100644 --- a/server_main.c +++ b/server_main.c @@ -20,7 +20,7 @@ void term(int signum) int main(int argc, char **argv) { struct sigaction action; - memset(&action, 0, sizeo(struct sigaction)); + memset(&action, 0, sizeof(struct sigaction)); action.sa_handler = term; sigaction(SIGTERM, &action, NULL);