From: <no...@so...> - 2009-07-22 22:32:00
|
Update of /cvsroot/ijbswa/current In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13116 Modified Files: jcc.c Log Message: Disarm the !socket_is_still_usable() check in chat() for mingw32 where it seems to misfire. Pointed out by Lee. Index: jcc.c =================================================================== RCS file: /cvsroot/ijbswa/current/jcc.c,v retrieving revision 1.274 retrieving revision 1.275 diff -u -d -r1.274 -r1.275 --- jcc.c 19 Jul 2009 11:19:50 -0000 1.274 +++ jcc.c 22 Jul 2009 22:31:54 -0000 1.275 @@ -1879,10 +1879,15 @@ #ifdef FEATURE_CONNECTION_KEEP_ALIVE if (!socket_is_still_usable(csp->cfd)) { +#ifdef _WIN32 + log_error(LOG_LEVEL_CONNECT, + "The server still wants to talk, but the client may already have hung up on us."); +#else log_error(LOG_LEVEL_CONNECT, "The server still wants to talk, but the client hung up on us."); mark_server_socket_tainted(csp); return; +#endif /* def _WIN32 */ } #endif /* def FEATURE_CONNECTION_KEEP_ALIVE */ |