the first cut of the internal messaging system.
[vlendec/samba-autobuild/.git] / source3 / nmbd / nmbd_packets.c
index cf00dc9083fa23e5e11b08c1aca65529c911d43f..605233f40d31de9d0f761a24917ced15a7db1f4d 100644 (file)
@@ -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)
   {