mirror of
https://github.com/transmission/transmission
synced 2025-02-21 21:57:01 +00:00
(trunk libT) messages about SO_SNDBUF size and file preallocation should probably be debug messages rather than visible-by-default info messages...
This commit is contained in:
parent
4489c25fdf
commit
9194325c95
1 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue