1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

r5987 tweak: silence a couple of console debugging messages that snuck into the commit

This commit is contained in:
Charles Kerr 2008-06-01 01:55:05 +00:00
parent 07c1b28e9e
commit f6dd06c367
2 changed files with 4 additions and 8 deletions

View file

@ -662,12 +662,8 @@ tr_bencDictRemove( tr_benc * dict, const char * key )
if( i >= 0 )
{
const int n = dict->val.l.count;
fprintf( stderr, "i is %d... count is %d\n", i, dict->val.l.count );
fprintf( stderr, "moving %d items from pos %d to %d\n", dict->val.l.count-(i+2), i+2, i );
#if 0
tr_bencFree( &dict->val.l.vals[i] );
tr_bencFree( &dict->val.l.vals[i+1] );
#endif
if( i + 2 < n )
{
dict->val.l.vals[i] = dict->val.l.vals[n-2];

View file

@ -817,14 +817,14 @@ tr_tracker_info;
/**
* @brief Modify a torrent's tracker list.
*
* This updates the torrent in-memory and also the metainfo file
* stored in the torrent folder in tr_sessionGetConfigDir().
* This updates both the `torrent' object's tracker list
* and the metainfo file in tr_sessionGetConfigDir()'s torrent subdirectory.
*
* @param torrent The torrent whose tracker list is to be modified.
* @param torrent The torrent whose tracker list is to be modified
* @param trackers An array of trackers, sorted by tier from first to last.
* NOTE: only the `tier' and `announce' fields are used.
* libtransmission derives `scrape' from `announce'.
* @param trackerCount size of the `trackers' array.
* @param trackerCount size of the `trackers' array
*/
void tr_torrentSetAnnounceList( tr_torrent * torrent,
const tr_tracker_info * trackers,