OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_main.c versions 1.76 and 1.77
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.76 -> 1.77

--- lmtp2nntp_main.c     2003/02/12 16:16:29     1.76
+++ lmtp2nntp_main.c     2004/04/02 10:25:47     1.77
@@ -321,10 +321,12 @@
                 pid = wait(NULL);
                 ctx->active_childs--;
                 logbook(ctx->l2, L2_LEVEL_NOTICE, "caught signal %d - child [%ld] terminated", sig, (long)pid);
+                signal(sig, (void(*)())catchsignal);
                 return;
             case SIGUSR1:
                 logbook(ctx->l2, L2_LEVEL_NOTICE, "caught signal %d - flush logging stream", sig);
                 l2_channel_flush(ctx->l2);
+                signal(sig, (void(*)())catchsignal);
                 return;
             case SIGHUP:
             case SIGINT:

CVSTrac 2.0.1