]> git.saurik.com Git - wxWidgets.git/commitdiff
More debug code
authorGuillermo Rodriguez Garcia <guille@iies.es>
Thu, 16 Mar 2000 20:09:08 +0000 (20:09 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Thu, 16 Mar 2000 20:09:08 +0000 (20:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.c

index 34d1e9c3d3738a05c5d9c05ab8204b91bcdccd8a..e26f4fb5a3d4f5828847ad1471035b8f07703e8d 100644 (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);