summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-26 10:07:56 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-01-26 10:07:56 +0100
commita82a62bd311af7f738e8db1ea22aff7ebc6479d2 (patch)
treef0ff1024f2fa84ad6a9d22e3c4b6421cd39fcc19 /src
parente4850f2eeb0e4e137b2f9f7f3a63fdf4661fc498 (diff)
downloadofono-a82a62bd311af7f738e8db1ea22aff7ebc6479d2.tar.bz2
Remove empty block for SIGPIPE handling
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 0fce3bdc..b5a5aab4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -74,8 +74,6 @@ static gboolean signal_cb(GIOChannel *channel, GIOCondition cond, gpointer data)
terminated++;
break;
- case SIGPIPE:
- break;
default:
break;
}
@@ -119,7 +117,6 @@ int main(int argc, char **argv)
sigemptyset(&mask);
sigaddset(&mask, SIGTERM);
sigaddset(&mask, SIGINT);
- sigaddset(&mask, SIGPIPE);
if (sigprocmask(SIG_BLOCK, &mask, NULL) < 0) {
perror("Can't set signal mask");