diff options
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 11b4162..4b50914 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -2736,24 +2736,6 @@ TclWinSetSockOpt( return setsockopt(s, level, optname, optval, optlen); } -#undef TclpInetNtoa -char * -TclpInetNtoa( - struct in_addr addr) -{ - /* - * Check that WinSock is initialized; do not call it if not, to prevent - * system crashes. This can happen at exit time if the exit handler for - * WinSock ran before other exit handlers that want to use sockets. - */ - - if (!SocketsEnabled()) { - return NULL; - } - - return inet_ntoa(addr); -} - struct servent * TclWinGetServByName( const char *name, |