From b9c27b23d554c5f36785d9e74ec89b85f159d163 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 27 Apr 2008 19:08:10 +0000 Subject: [PATCH] #884: fix after creating a torrent whose last file has 0 bytes --- libtransmission/makemeta.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libtransmission/makemeta.c b/libtransmission/makemeta.c index 3b667002e..1f84af543 100644 --- a/libtransmission/makemeta.c +++ b/libtransmission/makemeta.c @@ -259,7 +259,6 @@ getHashInfo ( tr_metainfo_builder * b ) } assert( b->abortFlag || (walk-ret == (int)(SHA_DIGEST_LENGTH*b->pieceCount)) ); assert( b->abortFlag || !totalRemain ); - assert( b->abortFlag || fp == NULL ); if( fp != NULL ) fclose( fp );