Ignore:
Timestamp:
May 8, 2008, 3:25:21 AM (14 years ago)
Author:
charles
Message:

add a couple of benc utility functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode-test.c

    r5608 r5772  
    238238    check( !err );
    239239    check( end == buf + strlen( (const char*)buf ) );
    240     check(( child = tr_bencListGetNthChild( &val, 0 )));
    241     check(( child2 = tr_bencListGetNthChild( child, 0 )));
     240    check(( child = tr_bencListChild( &val, 0 )));
     241    check(( child2 = tr_bencListChild( child, 0 )));
    242242    saved = tr_bencSave( &val, &len );
    243243    check( !strcmp( saved, "lld1:ai64e1:bi32eeee" ) );
Note: See TracChangeset for help on using the changeset viewer.