Show
Ignore:
Timestamp:
09/27/2006 12:36:04 AM (3 years ago)
Author:
joshe
Message:

Fix possible uint64_t underflow which could cause insanely huge (16,000,000 TB)

upload and/or download totals to be reported to the tracker.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/internal.h

    r920 r931  
    182182 
    183183    uint64_t          date; 
    184     uint64_t          downloaded; 
    185     uint64_t          uploaded; 
     184    uint64_t          downloadedCur; 
     185    uint64_t          downloadedPrev; 
     186    uint64_t          uploadedCur; 
     187    uint64_t          uploadedPrev; 
    186188 
    187189    tr_stat_t         stats[2];