1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 21:12:05 +00:00

tweak debug messages.

This commit is contained in:
Charles Kerr 2008-01-03 05:29:31 +00:00
parent 6d23ef541b
commit ce7b2521a3
2 changed files with 5 additions and 6 deletions

View file

@ -332,7 +332,7 @@ tr_fastResumeSave( const tr_torrent * tor )
fclose( file );
tr_dbg( "Wrote resume file for '%s'", tor->info.name );
/*tr_dbg( "Wrote resume file for '%s'", tor->info.name );*/
}
/***
@ -432,11 +432,10 @@ parseProgress( tr_torrent * tor,
const uint8_t * walk = buf;
const tr_time_t * oldMTimes = (const tr_time_t *) walk;
for( i=0; i<n; ++i ) {
if ( curMTimes[i] == oldMTimes[i] ) {
const tr_file * file = &tor->info.files[i];
tr_dbg( "File '%s' mtimes match -- no recheck needed", file->name );
if ( curMTimes[i] == oldMTimes[i] )
tr_torrentSetFileChecked( tor, i, TRUE );
}
else
tr_dbg( "File '%s' recheck needed", tor->info.files[i].name );
}
free( curMTimes );
walk += n * sizeof(tr_time_t);

View file

@ -70,7 +70,7 @@ getNatStateStr( int state )
case TR_NAT_TRAVERSAL_MAPPING: return "mapping";
case TR_NAT_TRAVERSAL_MAPPED: return "mapped";
case TR_NAT_TRAVERSAL_UNMAPPING: return "unmapping";
case TR_NAT_TRAVERSAL_UNMAPPED: return "unmapped";
case TR_NAT_TRAVERSAL_UNMAPPED: return "not mapped";
case TR_NAT_TRAVERSAL_ERROR: return "error";
}