More debug code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia 2000-03-16 20:09:08 +00:00
parent 8185521695
commit 609c60af5e

View File

@ -899,6 +899,8 @@ void GSocket_SetNonBlocking(GSocket *socket, bool non_block)
{
assert(socket != NULL);
GSocket_Debug( ("GSocket_SetNonBlocking: %d\n", (int)non_block) );
socket->m_non_blocking = non_block;
}
@ -1065,6 +1067,8 @@ GSocketError _GSocket_Output_Timeout(GSocket *socket)
tv.tv_sec = (socket->m_timeout / 1000);
tv.tv_usec = (socket->m_timeout % 1000) * 1000;
GSocket_Debug( ("m_non_blocking has: %d\n", (int)socket->m_non_blocking) );
if (!socket->m_non_blocking)
{
FD_ZERO(&writefds);