We don't need sig_quit

This commit is contained in:
Axel Wagner 2010-11-11 03:01:40 +01:00
parent 8301d3d9f3
commit a88f7fb392
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ int main(int argc, char **argv) {
/* We listen to SIGTERM/QUIT/INT and try to exit cleanly, by stopping the main-loop. /* We listen to SIGTERM/QUIT/INT and try to exit cleanly, by stopping the main-loop.
* We only need those watchers on the stack, so putting them on the stack saves us * We only need those watchers on the stack, so putting them on the stack saves us
* some calls to free() */ * some calls to free() */
ev_signal sig_term, sig_quit, sig_int, sig_hup; ev_signal sig_term, sig_int, sig_hup;
ev_signal_init(&sig_term, &sig_cb, SIGTERM); ev_signal_init(&sig_term, &sig_cb, SIGTERM);
ev_signal_init(&sig_int, &sig_cb, SIGINT); ev_signal_init(&sig_int, &sig_cb, SIGINT);