From 73f083cc51db355b35991e7f7d5ca9318b128135 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 25 Apr 2008 19:48:53 +0000 Subject: [PATCH] #896: Minor bug: debugging output always goes to stderr --- libtransmission/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }