Ignore:
Timestamp:
Mar 22, 2008, 6:10:59 PM (14 years ago)
Author:
charles
Message:

fix bug that caused very large torrents to crash Transmission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r5303 r5329  
    5858
    5959static void
    60 checkFile( tr_torrent   * tor,
    61            int            fileIndex,
    62            int          * abortFlag )
    63 {
    64     int i;
     60checkFile( tr_torrent       * tor,
     61           tr_file_index_t    fileIndex,
     62           int              * abortFlag )
     63{
     64    tr_piece_index_t i;
    6565    int nofile;
    6666    struct stat sb;
     
    106106    for( ;; )
    107107    {
    108         int i;
     108        tr_file_index_t i;
    109109        tr_torrent * tor;
    110110        struct verify_node * node;
Note: See TracChangeset for help on using the changeset viewer.