diff --git a/limelight-common/PlatformSockets.c b/limelight-common/PlatformSockets.c index 34eaa7f..2de3c86 100644 --- a/limelight-common/PlatformSockets.c +++ b/limelight-common/PlatformSockets.c @@ -110,6 +110,7 @@ int initializePlatformSockets(void) { // Disable SIGPIPE signals to avoid us getting // killed when a socket gets an EPIPE error struct sigaction sa; + sigemptyset(&sa.sa_mask); sa.sa_handler = SIG_IGN; sa.sa_flags = 0; if (sigaction(SIGPIPE, &sa, 0) == -1) {