X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fircd_log.c;h=dda7141d00de3a88c4ad2de955a2389b81f03edf;hb=refs%2Fheads%2Fupstream-ssl;hp=6251842b761c509c273280184c65e3fa98145cb7;hpb=37b928932bbc44140d797a2cda74b83786ccf0d5;p=ircu2.10.12-pk.git diff --git a/ircd/ircd_log.c b/ircd/ircd_log.c index 6251842..dda7141 100644 --- a/ircd/ircd_log.c +++ b/ircd/ircd_log.c @@ -126,7 +126,7 @@ static struct { M(NONE), M(OLDSNO), M(SERVKILL), M(OPERKILL), M(HACK2), M(HACK3), M(UNAUTH), M(TCPCOMMON), M(TOOMANY), M(HACK4), M(GLINE), M(NETWORK), M(IPMISMATCH), M(THROTTLE), M(OLDREALOP), - M(CONNEXIT), M(DEBUG), + M(CONNEXIT), M(DEBUG), M(AUTH), #undef M { 0, 0 } }; @@ -195,10 +195,8 @@ log_open(struct LogFile *lf) { /* only open the file if we haven't already */ if (lf && lf->fd < 0) { - alarm(3); /* if NFS hangs, we hang only for 3 seconds */ lf->fd = open(lf->file, O_WRONLY | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR); - alarm(0); } }