]> granicus.if.org Git - transmission/commitdiff
(trunk libT) disable some more unnecessary debug messages
authorCharles Kerr <charles@transmissionbt.com>
Sat, 17 Jul 2010 22:37:13 +0000 (22:37 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sat, 17 Jul 2010 22:37:13 +0000 (22:37 +0000)
libtransmission/cache.c
libtransmission/utils.c

index bbd8ab45b176fb2343ce26ebd1ca2fa090082280..bf329132fcee86b70f380f950de645cec7b2a14b 100644 (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) );
index 55493f762e7849a2a972d64a99325e081b6ba7f1..b71a62033edad944a5ad150cf1e70b6c47a5125d 100644 (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;
 }