Changeset 7127


Ignore:
Timestamp:
Nov 19, 2008, 4:06:31 PM (12 years ago)
Author:
charles
Message:

(libt) #1482: libtransmission/fdlimit.c preallocateFile uses undeclared desiredFileSize on WIN32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r7115 r7127  
    111111    {
    112112        LARGE_INTEGER li;
    113         li.QuadPart = desiredFileSize;
    114         success = SetFilePointerEx( hFile, desiredFileSize, NULL, FILE_BEGIN )
     113        li.QuadPart = length;
     114        success = SetFilePointerEx( hFile, length, NULL, FILE_BEGIN )
    115115               && SetEndOfFile( hFile );
    116116        CloseHandle( hFile );
Note: See TracChangeset for help on using the changeset viewer.