From 7aa422647c91e1e841292c3b4b7b3799fdda4ad4 Mon Sep 17 00:00:00 2001 From: KillerInstinct Date: Fri, 18 Nov 2016 08:12:17 -0500 Subject: [PATCH] Fix typo --- hook_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook_network.c b/hook_network.c index dd8c44e..69c1164 100644 --- a/hook_network.c +++ b/hook_network.c @@ -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);