wininet/tests: avoid shadowing a parameter
Austin English
austinenglish at gmail.com
Wed Mar 9 03:08:55 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 95a5779..39c3ae9 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -3004,9 +3004,9 @@ static void WINAPI cb(HINTERNET handle, DWORD_PTR context, DWORD status, LPVOID
}
if (status == INTERNET_STATUS_HANDLE_CLOSING)
{
- DWORD type = INTERNET_HANDLE_TYPE_CONNECT_HTTP, size = sizeof(type);
+ DWORD type = INTERNET_HANDLE_TYPE_CONNECT_HTTP, size_tmp = sizeof(type);
- if (InternetQueryOption(handle, INTERNET_OPTION_HANDLE_TYPE, &type, &size))
+ if (InternetQueryOption(handle, INTERNET_OPTION_HANDLE_TYPE, &type, &size_tmp))
ok(type != INTERNET_HANDLE_TYPE_CONNECT_HTTP, "unexpected callback\n");
SetEvent(ctx->event);
}
More information about the wine-patches
mailing list