From f6dd06c3671a9fcd048234acac284f8c0adec497 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 1 Jun 2008 01:55:05 +0000 Subject: [PATCH] r5987 tweak: silence a couple of console debugging messages that snuck into the commit --- libtransmission/bencode.c | 4 ---- libtransmission/transmission.h | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/libtransmission/bencode.c b/libtransmission/bencode.c index be2bfb228..44edf20c6 100644 --- a/libtransmission/bencode.c +++ b/libtransmission/bencode.c @@ -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]; diff --git a/libtransmission/transmission.h b/libtransmission/transmission.h index a771ab562..49236653d 100644 --- a/libtransmission/transmission.h +++ b/libtransmission/transmission.h @@ -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, -- 2.40.0