From a2480049d513c750790598ba15ce6bdd4251fd44 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 21 May 2009 22:49:59 +0000 Subject: [PATCH] tweak the assertion to track down Rolcol's crash --- libtransmission/torrent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0