[Listener] Set the signal flags to 0

This commit is contained in:
Matteo Cypriani 2011-08-20 18:17:57 +02:00
parent 626242b5e2
commit 462298d6e8
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ int main(int argc, char *argv[])
owl_run = TRUE ;
/* Set up signal handlers */
action.sa_flags = 0 ;
sigemptyset(&action.sa_mask) ;
action.sa_handler = sigint_handler ;
sigaction(SIGINT, &action, NULL) ;