Author of this is unknown. From ian@pipex.net (Ian Phillipps). A kludge to fix file descriptor leak. At some sites this helps to keep innd from silently exiting for no apparent reason. *** site.c.orig Thu Mar 18 16:04:32 1993 --- site.c Sat Sep 24 13:41:34 1994 *************** *** 82,87 **** --- 82,93 ---- if (AmRoot) xchown(name); if (cp) { + if (cp->fd >= 0) + syslog(L_ERROR, "DEBUG ERROR SITEspool trashed:%d %s:%d", cp->fd, sp->Name, i); + WCHANremove(cp); + RCHANremove(cp); + SCHANremove(cp); + close(cp->fd); cp->fd = i; return TRUE; }