From: Charles Kerr Date: Thu, 21 May 2009 22:49:59 +0000 (+0000) Subject: tweak the assertion to track down Rolcol's crash X-Git-Tag: 1.70~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2480049d513c750790598ba15ce6bdd4251fd44;p=transmission tweak the assertion to track down Rolcol's crash --- diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 00b7f4c21..971127e99 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -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; }