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];
/**
* @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,