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:
parent
dd643537ae
commit
5766f6fb4d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue