From 288da91f35ac4cd27c0a633f3a780bea6f0af4b4 Mon Sep 17 00:00:00 2001 From: KillerInstinct Date: Wed, 23 Nov 2016 09:32:14 -0500 Subject: [PATCH] Add a field, needed for a future signature --- hook_network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hook_network.c b/hook_network.c index 69c1164..0140a68 100644 --- a/hook_network.c +++ b/hook_network.c @@ -664,9 +664,9 @@ HOOKDEF(BOOL, WINAPI, InternetReadFile, ) { BOOL ret = Old_InternetReadFile(hFile, lpBuffer, dwNumberOfBytesToRead, lpdwNumberOfBytesRead); 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); + LOQ_bool("network", "pCI", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer, "BytesRead", lpdwNumberOfBytesRead); else - LOQ_bool("network", "pB", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer); + LOQ_bool("network", "pBI", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer, "BytesRead", lpdwNumberOfBytesRead); return ret; }