summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_packets.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd/nmbd_packets.c')
-rw-r--r--source3/nmbd/nmbd_packets.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index cf00dc9083..605233f40d 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -1808,24 +1808,12 @@ BOOL listen_for_packets(BOOL run_election)
/* Prepare for the select - allow certain signals. */
BlockSignals(False, SIGTERM);
-#if defined(SIGUSR1)
- BlockSignals(False, SIGUSR1);
-#endif /* SIGUSR1 */
-#if defined(SIGUSR2)
- BlockSignals(False, SIGUSR2);
-#endif /* SIGUSR2 */
selrtn = sys_select_intr(FD_SETSIZE,&fds,&timeout);
/* We can only take signals when we are in the select - block them again here. */
BlockSignals(True, SIGTERM);
-#if defined(SIGUSR1)
- BlockSignals(True, SIGUSR1);
-#endif /* SIGUSR1 */
-#if defined(SIGUSR2)
- BlockSignals(True, SIGUSR2);
-#endif /* SIGUSR2 */
if(selrtn > 0)
{