Changeset 13640


Ignore:
Timestamp:
Dec 9, 2012, 9:45:30 PM (8 years ago)
Author:
jordan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r13639 r13640  
    166166          size_t    count)
    167167{
    168     assert (TR_TYPE_LIST == val->type || TR_TYPE_DICT == val->type);
     168    assert (isContainer (val));
    169169
    170170    if (val->val.l.count + count > val->val.l.alloc)
Note: See TracChangeset for help on using the changeset viewer.