fix shutdown of socket on mod_xml_rpc (MDXMLINT-30)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9242 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-08-11 18:25:03 +00:00
parent 04c0c8f64a
commit f4425dea3c
1 changed files with 4 additions and 0 deletions

View File

@ -791,6 +791,10 @@ chanSwitchInterrupt(TChanSwitch * const chanSwitchP) {
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);
}