Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerInstinct committed Nov 18, 2016
1 parent d4b4813 commit 7aa4226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ HOOKDEF(BOOL, WINAPI, InternetReadFile,
_Out_ LPDWORD lpdwNumberOfBytesRead
) {
BOOL ret = Old_InternetReadFile(hFile, lpBuffer, dwNumberOfBytesToRead, lpdwNumberOfBytesRead);
if (is_bytes_in_buffer(lpBuffer, *lpdwNumberOfBytesRead, "\x00\x50\x4f\x4c\x49\x4d\x4f\x52\x46\x00", 10, 256))
if (is_bytes_in_buf(lpBuffer, *lpdwNumberOfBytesRead, "\x00\x50\x4f\x4c\x49\x4d\x4f\x52\x46\x00", 10, 256))
LOQ_bool("network", "pC", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer);
else
LOQ_bool("network", "pB", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer);
Expand Down

0 comments on commit 7aa4226

Please sign in to comment.