(trunk libT) #2740 "sefault in torrent creating" -- fixed for 1.80

This commit is contained in:
Charles Kerr 2010-01-10 02:40:22 +00:00
parent 6138daec3f
commit 0f19dbd600
1 changed files with 1 additions and 1 deletions

View File

@ -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
{