mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
if at first you don't succeed...
This commit is contained in:
parent
c4878448a9
commit
8805366e28
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ compareOffsetToFile( const void * a, const void * b )
|
|||
const tr_file * file = b;
|
||||
|
||||
if( offset < file->offset ) return -1;
|
||||
if( offset > file->offset + file->length ) return 1;
|
||||
if( offset >= file->offset + file->length ) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue