1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

#884: fix after creating a torrent whose last file has 0 bytes

This commit is contained in:
Charles Kerr 2008-04-27 19:08:10 +00:00
parent 3f71ea1f51
commit b9c27b23d5

View file

@ -259,7 +259,6 @@ getHashInfo ( tr_metainfo_builder * b )
} }
assert( b->abortFlag || (walk-ret == (int)(SHA_DIGEST_LENGTH*b->pieceCount)) ); assert( b->abortFlag || (walk-ret == (int)(SHA_DIGEST_LENGTH*b->pieceCount)) );
assert( b->abortFlag || !totalRemain ); assert( b->abortFlag || !totalRemain );
assert( b->abortFlag || fp == NULL );
if( fp != NULL ) if( fp != NULL )
fclose( fp ); fclose( fp );