From 0fcbff0c49b95b0b3d442aad56793669b3f10658 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 22 Apr 2008 00:45:43 +0200 Subject: [PATCH] Don't try to fflush a file we just closed. ircd-ratbox r25251 (androsyn) --- src/logger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logger.c b/src/logger.c index 6c75379..56af880 100644 --- a/src/logger.c +++ b/src/logger.c @@ -138,6 +138,7 @@ ilog(ilogfile dest, const char *format, ...) { fclose(logfile); *log_table[dest].logfile = NULL; + return; } fflush(logfile);