Google Web Accelerator

Eric Pouech pouech-eric at wanadoo.fr
Fri May 6 03:36:00 CDT 2005


Matthew Mastracci a écrit :
> It seems to die after a few minutes of browsing with what appears to be 
> an async IO error.  The strange thing is that the error code looks like 
> a memory location rather than a winsock error:
> 
> fixme:winsock:NtStatusToWSAError Status code 77ce16c0 converted to DOS 
> error code 77ce16c0
> fixme:winsock:WS2_async_send status: c0000120
> [matthew at epsilon temp]$ cd /tmp/wine/dlls/winsock
this should fix it

Index: socket.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/winsock/socket.c,v
retrieving revision 1.178
diff -u -u -r1.178 socket.c
--- socket.c	5 May 2005 09:49:43 -0000	1.178
+++ socket.c	6 May 2005 08:26:48 -0000
@@ -1032,8 +1032,9 @@
      if ( status ) iosb->u.Status = status;
      if ( iosb->u.Status != STATUS_PENDING )
      {
+        status = iosb->u.Status;
          (apc)( wsa, iosb, iosb->u.Status );
-        return iosb->u.Status;
+        return status;
      }
      NtCurrentTeb()->num_async_io++;
      return STATUS_SUCCESS;

-- 
Eric Pouech




More information about the wine-devel mailing list