Ignore:
Timestamp:
Jun 2, 2009, 1:48:48 AM (13 years ago)
Author:
charles
Message:

(trunk) #2131: clean up benc read/write API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r8561 r8588  
    254254                tr_bencDictAddStr( args, "metainfo", b64 );
    255255                tr_bencDictAddBool( args, "paused", paused );
    256                 tr_bencSaveAsJSON( &top, json, FALSE );
     256                tr_bencToBuf( &top, TR_FMT_JSON_LEAN, json );
    257257                tr_rpc_request_exec_json( server->session,
    258258                                          EVBUFFER_DATA( json ),
Note: See TracChangeset for help on using the changeset viewer.