Kai Blin : ws2_32: SO_DONTROUTE is ignored on windows, fix comment and downgrade FIXME to TRACE.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 30 06:48:10 CST 2006


Module: wine
Branch: master
Commit: 516a575a869b512e19d92490471769ef4565fa6a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=516a575a869b512e19d92490471769ef4565fa6a

Author: Kai Blin <kai.blin at gmail.com>
Date:   Thu Nov 30 12:31:40 2006 +0100

ws2_32: SO_DONTROUTE is ignored on windows, fix comment and downgrade FIXME to TRACE.

---

 dlls/ws2_32/socket.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 50443de..5b940c3 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -2722,12 +2722,10 @@ int WINAPI WS_setsockopt(SOCKET s, int l
     }
 
     /* For some reason the game GrandPrixLegends does set SO_DONTROUTE on its
-     * socket. This will either not happen under windows or it is ignored in
-     * windows (but it works in linux and therefore prevents the game from
-     * finding games outside the current network) */
+     * socket. According to MSDN, this option is silently ignored.*/
     if ( level==WS_SOL_SOCKET && optname==WS_SO_DONTROUTE ) 
     {
-        FIXME("Does windows ignore SO_DONTROUTE?\n");
+        TRACE("Ignoring SO_DONTROUTE.\n");
         return 0;
     }
 




More information about the wine-cvs mailing list