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 94c0bd4abe
commit 0fcbff0c49
1 changed files with 1 additions and 0 deletions

View File

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