Changeset 7129


Ignore:
Timestamp:
Nov 19, 2008, 5:48:24 PM (12 years ago)
Author:
charles
Message:

(libT) #1482: fix another win32-related preallocate bug. Thanks to Spry and Lubomir for fixing my bugs. ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r7127 r7129  
    112112        LARGE_INTEGER li;
    113113        li.QuadPart = length;
    114         success = SetFilePointerEx( hFile, length, NULL, FILE_BEGIN )
    115                && SetEndOfFile( hFile );
     114        success = SetFilePointerEx( hFile, li, NULL, FILE_BEGIN ) && SetEndOfFile( hFile );
    116115        CloseHandle( hFile );
    117116    }
Note: See TracChangeset for help on using the changeset viewer.