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
1 changed files with 1 additions and 1 deletions

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