Changeset 6743


Ignore:
Timestamp:
Sep 14, 2008, 12:57:11 AM (13 years ago)
Author:
charles
Message:

(libT) #1269: check for the `downloaded' key in the announce repsonse. a successful announce response already resets the rescrape countdown, so that half of the ticket is redundant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r6699 r6743  
    365365            if(( tr_bencDictFindInt( &benc, "incomplete", &i )))
    366366                t->leecherCount = incomplete = i;
     367
     368            if(( tr_bencDictFindInt( &benc, "downloaded", &i )))
     369                t->timesDownloaded = i;
    367370
    368371            if(( tmp = tr_bencDictFind( &benc, "peers" )))
Note: See TracChangeset for help on using the changeset viewer.