diff --git a/libtransmission/utils.c b/libtransmission/utils.c index 56325a260..93a1fcb50 100644 --- a/libtransmission/utils.c +++ b/libtransmission/utils.c @@ -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 ); }