[EXIM] exim -q<time> without -bd broken

Top Page
Delete this message
Reply to this message
Author: Ben Smithurst
Date:  
To: Exim Users
Subject: [EXIM] exim -q<time> without -bd broken
running a queue-running daemon without it being a listening daemon
causes a core dump (sig 11) here. This patch seems to fix it ...

--- ../exim-2.054/src/daemon.c    Mon Nov 23 14:26:53 1998
+++ src/daemon.c    Sun Dec  6 21:41:36 1998
@@ -1263,7 +1263,7 @@


     /* Deal with an accepting process. */


-    for (i = 0; i < smtp_accept_max; i++)
+    if (daemon_listen) for (i = 0; i < smtp_accept_max; i++)
       {
       if (smtp_pid_slots[i] == pid)
         {


combined daemons (-bd and -q<time> in one daemon) weren't affected.

--
Ben Smithurst
ben@???

send a blank message to ben+pgp@??? for PGP key

--
*** Exim information can be found at http://www.exim.org/ ***