Supposedly fix http test

Jakob Eriksson jakov at vmlinux.org
Thu Oct 28 10:06:32 CDT 2004


Let's commit this and see if it works any better on Windows.
Works fine on Wine, this can't be any worse on Windows than it already is.




Index: http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/tests/http.c,v
retrieving revision 1.15
diff -u -r1.15 http.c
--- http.c      23 Sep 2004 22:53:04 -0000      1.15
+++ http.c      28 Oct 2004 15:04:40 -0000
@@ -175,7 +175,7 @@
     {

         rc = InternetQueryDataAvailable(hor,&length,0x0,0x0);
-        ok((rc != 0),"InternetQueryDataAvailable failed\n");
+        ok(!(rc == 0 && length != 0),"InternetQueryDataAvailable 
failed\n");

         if (length)
         {






More information about the wine-patches mailing list