Author: mikej Date: Mon Aug 11 14:25:03 2008 New Revision: 9242 Modified: freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_win.c Log: fix shutdown of socket on mod_xml_rpc (MDXMLINT-30) Modified: freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_win.c ============================================================================== --- freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_win.c (original) +++ freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/socket_win.c Mon Aug 11 14:25:03 2008 @@ -791,6 +791,10 @@ Actually, this is just a no-op because we don't yet know how to accomplish that. -----------------------------------------------------------------------------*/ + struct socketWin * const socketWinP = chanSwitchP->implP; + + if (!socketWinP->userSuppliedWinsock) + closesocket(socketWinP->winsock); }