diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-09-12 06:13:25 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-09-12 06:13:25 +0000 |
commit | f0ce4f7ae3b58f45b70598e3a44539e3e12291ce (patch) | |
tree | 35c9fea99d0325807f7044bf176047aa420cd17c /source3/nmbd/nmbd_packets.c | |
parent | a19836ae5267fa967482f2baacd5e8cf8767bf79 (diff) | |
download | samba-f0ce4f7ae3b58f45b70598e3a44539e3e12291ce.tar.gz samba-f0ce4f7ae3b58f45b70598e3a44539e3e12291ce.tar.xz samba-f0ce4f7ae3b58f45b70598e3a44539e3e12291ce.zip |
- changed the msg_type to be an int instead of an enum so that it is
easier to add new message types to messages.h without breaking old
binaries
- added a MSG_FORCE_ELECTION message to force nmbd to hold an election
(This used to be commit f1c49ca7ce56bc39259041a71479e84ebf53eeca)
Diffstat (limited to 'source3/nmbd/nmbd_packets.c')
-rw-r--r-- | source3/nmbd/nmbd_packets.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index d1f77fe2d22..50193d53395 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -1759,14 +1759,6 @@ only use %d.\n", (count*2) + 2, FD_SETSIZE)); } /**************************************************************************** -do any signal triggered processing -***************************************************************************/ -static void nmbd_async_processing(void) -{ - message_dispatch(); -} - -/**************************************************************************** Listens for NMB or DGRAM packets, and queues them. return True if the socket is dead ***************************************************************************/ @@ -1826,9 +1818,6 @@ BOOL listen_for_packets(BOOL run_election) BlockSignals(True, SIGTERM); if(selrtn == -1) { - if (errno == EINTR) { - nmbd_async_processing(); - } return False; } |