Changeset 4174


Ignore:
Timestamp:
Dec 15, 2007, 5:05:23 AM (15 years ago)
Author:
charles
Message:

fix off-by-one introduced in r4153

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r4153 r4174  
    267267    nofile = stat( path, &sb ) || !S_ISREG( sb.st_mode );
    268268
    269     for( i=file->firstPiece; i<file->lastPiece && (!*abortFlag); ++i )
     269    for( i=file->firstPiece; i<=file->lastPiece && (!*abortFlag); ++i )
    270270    {
    271271        if( nofile )
Note: See TracChangeset for help on using the changeset viewer.