mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 00:44:17 +01:00
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);
|
||||
*log_table[dest].logfile = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
fflush(logfile);
|
||||
|
|
Loading…
Reference in a new issue