mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
#896: Minor bug: debugging output always goes to stderr
This commit is contained in:
parent
03572a0ad5
commit
73f083cc51
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ tr_msg( const char * file, int line, int level,
|
|||
{
|
||||
if( fp == NULL )
|
||||
fp = stderr;
|
||||
fprintf( stderr, "%s\n", text );
|
||||
fprintf( fp, "%s\n", text );
|
||||
tr_free( text );
|
||||
fflush( fp );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue