mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
(trunk daemon) "--logfile is unreliable on Solaris 10" -- fixed.
This commit is contained in:
parent
6f5ecd2ab8
commit
d6d6fd2d7e
1 changed files with 3 additions and 0 deletions
|
@ -323,6 +323,9 @@ pumpLogMessages( FILE * logfile )
|
|||
for( l=list; l!=NULL; l=l->next )
|
||||
printMessage( logfile, l->level, l->name, l->message, l->file, l->line );
|
||||
|
||||
if( logfile != NULL )
|
||||
fflush( logfile );
|
||||
|
||||
tr_freeMessageList( list );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue