Don't try to fflush a file we just closed.

ircd-ratbox r25251 (androsyn)
This commit is contained in:
Jilles Tjoelker 2008-04-22 00:45:43 +02:00
parent f28d832416
commit b7bb965735

View file

@ -138,6 +138,7 @@ ilog(ilogfile dest, const char *format, ...)
{ {
fclose(logfile); fclose(logfile);
*log_table[dest].logfile = NULL; *log_table[dest].logfile = NULL;
return;
} }
fflush(logfile); fflush(logfile);