Skip to content
Snippets Groups Projects
Commit dce08299 authored by Michael McCormack's avatar Michael McCormack Committed by Alexandre Julliard
Browse files

Only call wininet callbacks if dwContext is non-zero.

parent b2b8a0d1
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,11 @@ VOID SendAsyncCallbackInt(LPWININETAPPINFOA hIC, HINTERNET hHttpSession,
if (! (hIC->lpfnStatusCB))
return;
/* the IE5 version of wininet does not
send callbacks if dwContext is zero */
if( !dwContext )
return;
TRACE("--> Callback %ld\n",dwInternetStatus);
hIC->lpfnStatusCB(hHttpSession, dwContext, dwInternetStatus,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment