1
0
Fork 0
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:
Charles Kerr 2008-04-25 19:48:53 +00:00
parent 03572a0ad5
commit 73f083cc51

View file

@ -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 );
}