From 3689e4ffc10fceb4c39814ef58fe31697e7dd976 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Sep 2000 07:02:43 +0000 Subject: the first cut of the internal messaging system. The motivation for this system is to replace the UDP message for oplocks, but this commit only does the "set debug level" message. (This used to be commit 2a34ee95f3929cff131db6c5a2b4820194c05b2d) --- source3/nmbd/nmbd_packets.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/nmbd/nmbd_packets.c') 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) { -- cgit