1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

in bencode.c's makeroom(), clarify the entry assertions

This commit is contained in:
Jordan Lee 2012-12-09 21:45:30 +00:00
parent dd643537ae
commit 5766f6fb4d

View file

@ -165,7 +165,7 @@ static int
makeroom (tr_benc * val,
size_t count)
{
assert (TR_TYPE_LIST == val->type || TR_TYPE_DICT == val->type);
assert (isContainer (val));
if (val->val.l.count + count > val->val.l.alloc)
{