mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
(trunk libT) #2740 "sefault in torrent creating" -- fixed for 1.80
This commit is contained in:
parent
6138daec3f
commit
0f19dbd600
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ makeInfoDict( tr_benc * dict,
|
|||
|
||||
tr_bencDictReserve( dict, 5 );
|
||||
|
||||
if( builder->isSingleFile )
|
||||
if( builder->fileCount == 1 )
|
||||
tr_bencDictAddInt( dict, "length", builder->files[0].size );
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue