Ignore:
Timestamp:
Apr 27, 2011, 9:22:08 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) tweak the ABI of tr_bencToBuf() to match the way it's being used

File:
1 edited

Legend:

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

    r12228 r12391  
    324324
    325325    tr_bencLoad( benc_str, strlen( benc_str ), &top, NULL );
    326     tr_bencToBuf( &top, TR_FMT_JSON, buf );
     326    buf = tr_bencToBuf( &top, TR_FMT_JSON );
    327327    serialized = (char*) evbuffer_pullup( buf, -1 );
    328328    stripWhitespace( serialized );
Note: See TracChangeset for help on using the changeset viewer.