Conditionalized possibly unused variable.

svn path=/trunk/; revision=13023
This commit is contained in:
Art Yerkes 2005-01-13 07:29:12 +00:00
parent d8dd93dab9
commit 2f96b042b8

View file

@ -553,12 +553,14 @@ WSAAccept(
}
if( addr ) {
#ifdef DBG
LPSOCKADDR_IN sa = (LPSOCKADDR_IN)addr;
WS_DbgPrint(MAX_TRACE,("Returned address: %d %s:%d (len %d)\n",
sa->sin_family,
inet_ntoa(sa->sin_addr),
ntohs(sa->sin_port),
*addrlen));
#endif
}
return Socket;