Ignore:
Timestamp:
Sep 23, 2007, 2:12:17 PM (15 years ago)
Author:
charles
Message:
  • update tor->activityDate whenever piece data is transferred.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-msgs.c

    r3144 r3148  
    772772{
    773773    tr_torrent * tor = msgs->torrent;
     774    tor->activityDate = tr_date( );
    774775    tor->downloadedCur += byteCount;
    775776    tr_rcTransferred( tor->download, byteCount );
     
    781782{
    782783    tr_torrent * tor = msgs->torrent;
     784    tor->downloadedCur += byteCount;
    783785    tor->uploadedCur += byteCount;
    784786    tr_rcTransferred( tor->upload, byteCount );
Note: See TracChangeset for help on using the changeset viewer.