Only call wininet callbacks if dwContext is non-zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog: * Only call wininet callbacks if dwContext is non-zero

Index: dlls/wininet/utility.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/utility.c,v
retrieving revision 1.10
diff -u -r1.10 utility.c
--- dlls/wininet/utility.c	21 Jun 2002 23:59:49 -0000	1.10
+++ dlls/wininet/utility.c	17 Jul 2003 18:27:14 -0000
@@ -175,6 +175,11 @@
         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,

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux