1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-27 13:43:17 +00:00

Fixed typo in Windows Server 2012 fix. I meant to pass bytesRead, not bufferLen

This commit is contained in:
Bryan Roe
2020-07-28 22:17:31 -07:00
parent 7b9ce06818
commit 0f50542d8d

View File

@@ -3333,7 +3333,7 @@ void ILibChain_ReadEx2(void *chain, HANDLE h, OVERLAPPED *p, char *buffer, int b
state->handler = handler;
state->fileHandle = h;
state->user = user;
state->p = (void*)(uintptr_t)bufferLen;
state->p = (void*)(uintptr_t)bytesRead;
ILibChain_RunOnMicrostackThreadEx2(chain, ILibChain_ReadEx2_UnwindHandler, state, 1);
}