From 9194325c95d8438ff6eb78805c27962a113ecd5b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 8 Feb 2010 04:43:56 +0000 Subject: [PATCH] (trunk libT) messages about SO_SNDBUF size and file preallocation should probably be debug messages rather than visible-by-default info messages... --- libtransmission/fdlimit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtransmission/fdlimit.c b/libtransmission/fdlimit.c index 85ec725dc..ae6e31622 100644 --- a/libtransmission/fdlimit.c +++ b/libtransmission/fdlimit.c @@ -366,7 +366,7 @@ TrOpenFile( tr_session * session, if( doWrite && !alreadyExisted && ( preallocationMode == TR_PREALLOCATE_FULL ) ) if( preallocateFileFull( filename, desiredFileSize ) ) - tr_inf( _( "Preallocated file \"%s\"" ), filename ); + tr_dbg( _( "Preallocated file \"%s\"" ), filename ); /* open the file */ flags = doWrite ? ( O_RDWR | O_CREAT ) : O_RDONLY; @@ -667,9 +667,9 @@ tr_fdSocketCreate( tr_session * session, int domain, int type ) socklen_t size = sizeof( int ); buf_logged = TRUE; getsockopt( s, SOL_SOCKET, SO_SNDBUF, &i, &size ); - tr_inf( "SO_SNDBUF size is %d", i ); + tr_dbg( "SO_SNDBUF size is %d", i ); getsockopt( s, SOL_SOCKET, SO_RCVBUF, &i, &size ); - tr_inf( "SO_RCVBUF size is %d", i ); + tr_dbg( "SO_RCVBUF size is %d", i ); } }