Changeset 2313


Ignore:
Timestamp:
Jul 9, 2007, 11:09:00 PM (15 years ago)
Author:
charles
Message:

Revert version back to 079 as per BentMyWookie?'s suggestion

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer.c

    r2312 r2313  
    192192    int                 inBegin;
    193193    int                 inLength;
    194     uint64_t            inTotal;
    195194
    196195    tr_list_t         * outRequests;
    197     uint64_t            outTotal;
    198196    uint64_t            outDate;
    199197
     
    582580            tr_peerGotBlockFromUs( peer, ret );
    583581
    584         tor->uploadedCur += ret;
    585         peer->outTotal   += ret;
    586        
    587582        date              = tr_date();
    588583        peer->outDate     = date;
     
    833828    tr_torrent_t * tor = peer->tor;
    834829
     830    assert( byteCount >= 0 );
     831
     832    tor->downloadedCur += byteCount;
    835833    tr_rcTransferred( peer->download, byteCount );
    836834    tr_rcTransferred( tor->download, byteCount );
     
    846844    tr_torrent_t * tor = peer->tor;
    847845
     846    assert( byteCount >= 0 );
     847
     848    tor->uploadedCur += byteCount;
    848849    tr_rcTransferred( peer->upload, byteCount );
    849850    tr_rcTransferred( tor->upload, byteCount );
  • trunk/libtransmission/peerparse.h

    r2310 r2313  
    311311
    312312    updateRequests( peer, index, begin );
    313     tor->downloadedCur += len - 8;
    314313
    315314    /* Sanity checks */
  • trunk/libtransmission/torrent.c

    r2311 r2313  
    218218        tr_setBindPort( h, TR_DEFAULT_PORT );
    219219
    220     tor->downloadedPrev += tor->downloadedCur;
    221     tor->downloadedCur   = 0;
    222     tor->uploadedPrev   += tor->uploadedCur;
    223     tor->uploadedCur     = 0;
     220    assert( !tor->downloadedCur );
     221    assert( !tor->uploadedCur );
    224222
    225223    tor->error   = TR_OK;
     
    975973
    976974            /* close the tracker */
     975fprintf(stderr,"sending a 'stopped' message to the tracker...\n");
    977976            tr_trackerStopped( tor->tracker );
    978977            tr_trackerPulse( tor->tracker, &peerCount, &peerCompact );
  • trunk/version.sh

    r2309 r2313  
    55MAJOR=0
    66MINOR=7
    7 MAINT=9
     7MAINT=2
    88STRING=0.80-svn
    99
Note: See TracChangeset for help on using the changeset viewer.