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/rpc-server.c

    r12229 r12391  
    271271            if( have_source )
    272272            {
    273                 struct evbuffer * json = evbuffer_new( );
    274                 tr_bencToBuf( &top, TR_FMT_JSON, json );
     273                struct evbuffer * json = tr_bencToBuf( &top, TR_FMT_JSON );
    275274                tr_rpc_request_exec_json( server->session,
    276275                                          evbuffer_pullup( json, -1 ),
Note: See TracChangeset for help on using the changeset viewer.