(trunk libT) disable some more unnecessary debug messages

This commit is contained in:
Charles Kerr 2010-07-17 22:37:13 +00:00
parent 72cf30db35
commit 9ea1cff367
2 changed files with 1 additions and 2 deletions

View File

@ -176,8 +176,8 @@ flushContiguous( tr_cache * cache, int pos, int n, int rank )
}
tr_ptrArrayErase( &cache->blocks, pos, pos+n );
tr_tordbg( tor, "Writing to disk piece %d, offset %d, len %d", (int)piece, (int)offset, (int)(walk-buf) );
#if 0
tr_tordbg( tor, "Writing to disk piece %d, offset %d, len %d", (int)piece, (int)offset, (int)(walk-buf) );
tr_ndbg( MY_NAME, "Removing %d blocks from cache, rank: %d - %d left", n, rank, tr_ptrArraySize(&cache->blocks) );
fprintf( stderr, "%s - Writing to disk piece %d, offset %d, len %d\n", tr_torrentName(tor), (int)piece, (int)offset, (int)(walk-buf) );
fprintf( stderr, "%s - Removing %d blocks from cache; %d left\n", MY_NAME, n, tr_ptrArraySize(&cache->blocks) );

View File

@ -1528,7 +1528,6 @@ tr_valloc( size_t bufLen )
if( !buf )
buf = malloc( allocLen );
tr_dbg( "tr_valloc(%zu) allocating %zu bytes", bufLen, allocLen );
return buf;
}