No subject


Tue Aug 30 15:12:41 CDT 2005


Changelog:
	dlls/winsock	: socket.c
	Correct optlen when WS_setsockopt is called with SO_LINGER.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl

----=_j3ea5uomm6k7hdnq611al6kef1gpdiqnrm.MFSBCHJLHS
Content-Type: text/plain; charset=us-ascii; name=szoflinger.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=szoflinger.diff

--- wine/dlls/winsock/socket.c	Tue Jan 22 08:21:45 2002
+++ mywine/dlls/winsock/socket.c	Mon Jan 28 12:23:43 2002
@@ -2235,7 +2235,7 @@
                 /* FIXME: what is documented behavior if SO_LINGER optval
                    is null?? */
                 optval = (char*)&linger;
-                optlen = sizeof(struct WS_linger);
+                optlen = sizeof(struct linger);
             } else if (optlen < sizeof(int)){
                 woptval= *((INT16 *) optval);
                 optval= (char*) &woptval;

----=_j3ea5uomm6k7hdnq611al6kef1gpdiqnrm.MFSBCHJLHS--




More information about the wine-patches mailing list