Ignore:
Timestamp:
Dec 2, 2006, 1:46:54 AM (15 years ago)
Author:
joshe
Message:

Merge scrape branch:

Automatically scrape trackers as needed.
If tracker supplies a trackerid then use it (untested).
Use tracker's min interval, clamped to the same range as interval.
Show total completed downloads in the MacOS X frontend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r1064 r1149  
    323323    for( i = 0; i < SHA_DIGEST_LENGTH; i++ )
    324324    {
    325         sprintf( &tor->hashString[3*i], "%%%02x", inf->hash[i] );
     325        sprintf( &tor->escapedHashString[3*i], "%%%02x", inf->hash[i] );
    326326    }
    327327
     
    367367
    368368/***********************************************************************
    369  * tr_torrentScrape
    370  **********************************************************************/
    371 int tr_torrentScrape( tr_torrent_t * tor, int * s, int * l )
    372 {
    373     return tr_trackerScrape( tor, s, l );
     369 * tr_torrentScrape     
     370 **********************************************************************/
     371int tr_torrentScrape( tr_torrent_t * tor, int * s, int * l, int * d )
     372{
     373    return tr_trackerScrape( tor, s, l, d );
    374374}
    375375
     
    540540    s->seeders  = tr_trackerSeeders(tor->tracker);
    541541    s->leechers = tr_trackerLeechers(tor->tracker);
     542    s->completedFromTracker = tr_trackerDownloaded(tor->tracker);
    542543
    543544    s->swarmspeed = tr_rcRate( tor->swarmspeed );
Note: See TracChangeset for help on using the changeset viewer.