]> granicus.if.org Git - transmission/commitdiff
tweak the assertion to track down Rolcol's crash
authorCharles Kerr <charles@transmissionbt.com>
Thu, 21 May 2009 22:49:59 +0000 (22:49 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Thu, 21 May 2009 22:49:59 +0000 (22:49 +0000)
libtransmission/torrent.c

index 00b7f4c217c6b6ed8eb95ee091b7f428f3dd5d57..971127e99d60c66f5b3060807517cfbcca834cee 100644 (file)
@@ -1118,9 +1118,9 @@ fprintf( stderr, " old size   is %"PRIu64"\n", (uint64_t)oldFileBytesCompleted(
 fprintf( stderr, "first piece is %"PRIu64"\n", (uint64_t)f->firstPiece );
 fprintf( stderr, "last piece  is %"PRIu64"\n", (uint64_t)f->lastPiece );
 fprintf( stderr, " new size   is %"PRIu64"\n", (uint64_t)total );
+abort( );
     }
 
-    assert( total == oldFileBytesCompleted( tor, index ) );
     return total;
 }