mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
#884: fix after creating a torrent whose last file has 0 bytes
This commit is contained in:
parent
3f71ea1f51
commit
b9c27b23d5
1 changed files with 0 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue