Ignore:
Timestamp:
Feb 3, 2010, 2:31:12 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2716 "magnet torrents not being saved after quit" -- fix bencode bug.

File:
1 edited

Legend:

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

    r8889 r10091  
    1111#include "utils.h" /* tr_free */
    1212
    13 #undef VERBOSE
     13/* #define VERBOSE */
    1414
    1515static int test = 0;
     
    171171#if 0
    172172        fprintf( stderr, "in: [%s]\n", str );
    173         fprintf( stderr, "out:\n%s", tr_bencSaveAsJSON( &val, NULL ) );
     173        fprintf( stderr, "out:\n%s", tr_bencToStr( &val, TR_FMT_JSON, NULL ) );
    174174#endif
    175175        check( end == (const uint8_t*)str + len );
Note: See TracChangeset for help on using the changeset viewer.