(trunk libT) #3781 -- remove excessive bencode debug messages.

This commit is contained in:
Charles Kerr 2010-12-01 04:54:18 +00:00
parent cc8c2c686c
commit 2ce03097ee
1 changed files with 0 additions and 3 deletions

View File

@ -1667,7 +1667,6 @@ tr_bencToFile( const tr_benc * top, tr_fmt_mode mode, const char * filename )
{ {
int len; int len;
char * str = tr_bencToStr( top, mode, &len ); char * str = tr_bencToStr( top, mode, &len );
tr_dbg( "Writing %d bytes to temporary file \"%s\"", (int)len, tmp );
if( write( fd, str, len ) == (ssize_t)len ) if( write( fd, str, len ) == (ssize_t)len )
{ {
@ -1679,8 +1678,6 @@ tr_bencToFile( const tr_benc * top, tr_fmt_mode mode, const char * filename )
if( !already_exists || !unlink( filename ) ) if( !already_exists || !unlink( filename ) )
{ {
tr_dbg( "Renaming \"%s\" as \"%s\"", tmp, filename );
if( !rename( tmp, filename ) ) if( !rename( tmp, filename ) )
{ {
tr_inf( _( "Saved \"%s\"" ), filename ); tr_inf( _( "Saved \"%s\"" ), filename );