From 609c60af5edd543544f5ef8062a1589f0d2f847b Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Thu, 16 Mar 2000 20:09:08 +0000 Subject: [PATCH] More debug code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/gsocket.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index 34d1e9c3d3..e26f4fb5a3 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -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);