Don't try to fflush a file we just closed.
ircd-ratbox r25251 (androsyn)
This commit is contained in:
parent
f28d832416
commit
b7bb965735
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue