diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-08-16 11:44:52 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-08-16 11:44:52 +0000 |
commit | 73b9315e56f5f635eaf82a08271e8f462b731972 (patch) | |
tree | d6c90b9cb73d6e3bf57adf535b1995115fcba1d4 /sdpd/main.c | |
parent | a1bc48d15a5d6e78efe744eb7b27b6421cb7222f (diff) |
Don't forget to unblock signals for ppoll()
Diffstat (limited to 'sdpd/main.c')
-rw-r--r-- | sdpd/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdpd/main.c b/sdpd/main.c index fbc7f5e6..5e415f4a 100644 --- a/sdpd/main.c +++ b/sdpd/main.c @@ -457,6 +457,11 @@ int main(int argc, char *argv[]) signal(SIGPIPE, SIG_IGN); sigfillset(&sigs); + sigdelset(&sigs, SIGINT); + sigdelset(&sigs, SIGTERM); + sigdelset(&sigs, SIGABRT); + sigdelset(&sigs, SIGQUIT); + sigdelset(&sigs, SIGPIPE); for (;;) { int num, nfd; |