Index: netloop.c =================================================================== RCS file: /home/chris/vcvs/repos/tpop3d/netloop.c,v retrieving revision 1.7 diff -u -r1.7 netloop.c --- netloop.c 1 Aug 2003 12:11:38 -0000 1.7 +++ netloop.c 25 Aug 2003 12:49:23 -0000 @@ -291,8 +291,10 @@ case -1: /* Error. */ + post_fork = 0; log_print(LOG_ERR, "fork_child: fork: %m"); connection_sendresponse(c, 0, _("Everything was fine until now, but suddenly I realise I just can't go on. Sorry.")); + sigprocmask(SIG_UNBLOCK, &chmask, NULL); return 0; default: @@ -385,7 +387,7 @@ if (!fork_child(c)) c->do_shutdown = 1; /* If this is the parent process, c has now been destroyed. */ - if (!post_fork) + else if (!post_fork) c = NULL; } break;