mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
#896: Minor bug: debugging output always goes to stderr
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user