removed debugging code which shouldn't be there :-)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia 1999-10-27 17:03:07 +00:00
parent 733dac4760
commit 304ccacc13

View File

@ -485,12 +485,10 @@ GSocketError GSocket_Connect(GSocket *sck, GSocketStream stream)
close(sck->m_fd);
sck->m_fd = -1;
/* sck->m_error is set in _GSocket_Output_Timeout */
fprintf(stderr, "Blocking connect timeouts\n");
return GSOCK_TIMEDOUT;
}
else
{
fprintf(stderr, "Blocking connect OK\n");
return GSOCK_NOERROR;
}
}
@ -505,7 +503,6 @@ GSocketError GSocket_Connect(GSocket *sck, GSocketStream stream)
{
sck->m_error = GSOCK_WOULDBLOCK;
sck->m_establishing = TRUE;
fprintf(stderr, "Nonblocking connect in progress\n");
return GSOCK_WOULDBLOCK;
}
@ -517,11 +514,9 @@ GSocketError GSocket_Connect(GSocket *sck, GSocketStream stream)
sck->m_fd = -1;
sck->m_error = GSOCK_IOERR;
fprintf(stderr, "Connect failed (generic err)\n");
return GSOCK_IOERR;
}
fprintf(stderr, "Connect OK\n");
return GSOCK_NOERROR;
}