mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-27 09:41:35 +01:00
+ Removed mess from project files
+ Project files for VS 2012
This commit is contained in:
@@ -743,7 +743,6 @@ static bool BaseHttp_Read(
|
||||
TCHAR szRangeRequest[0x80];
|
||||
DWORD dwStartOffset = (DWORD)ByteOffset;
|
||||
DWORD dwEndOffset = dwStartOffset + dwBytesToRead;
|
||||
BYTE Buffer[0x200];
|
||||
|
||||
// Open HTTP request to the file
|
||||
szFileName = BaseHttp_ExtractServerName(pStream->szFileName, NULL);
|
||||
@@ -764,8 +763,8 @@ static bool BaseHttp_Read(
|
||||
DWORD dwBlockBytesRead = 0;
|
||||
|
||||
// Read the block from the file
|
||||
if(dwBlockBytesToRead > sizeof(Buffer))
|
||||
dwBlockBytesToRead = sizeof(Buffer);
|
||||
if(dwBlockBytesToRead > 0x200)
|
||||
dwBlockBytesToRead = 0x200;
|
||||
InternetReadFile(hRequest, pbBuffer, dwBlockBytesToRead, &dwBlockBytesRead);
|
||||
|
||||
// Check for end
|
||||
|
||||
Reference in New Issue
Block a user