You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2010/02/23 02:30:34 UTC
svn commit: r915125 - /tomcat/jk/trunk/native/common/jk_connect.c
Author: rjung
Date: Tue Feb 23 01:30:34 2010
New Revision: 915125
URL: http://svn.apache.org/viewvc?rev=915125&view=rev
Log:
- fix unused variable warning
- remove double space in log message
- fix grammar in comment
Modified:
tomcat/jk/trunk/native/common/jk_connect.c
Modified: tomcat/jk/trunk/native/common/jk_connect.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_connect.c?rev=915125&r1=915124&r2=915125&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_connect.c (original)
+++ tomcat/jk/trunk/native/common/jk_connect.c Tue Feb 23 01:30:34 2010
@@ -705,7 +705,9 @@
int rp = 0;
int save_errno;
int timeout = SECONDS_TO_LINGER * 1000;
+#ifndef HAVE_POLL
struct timeval tv;
+#endif
time_t start = time(NULL);
JK_TRACE_ENTER(l);
@@ -784,7 +786,7 @@
timeout = SECONDS_TO_LINGER;
continue;
}
- /* We have readed less then size of buffer
+ /* We have read less then size of buffer
* It's a good chance there will be no more data
* to read.
*/
@@ -792,7 +794,7 @@
rc = jk_close_socket(sd, l);
if (JK_IS_DEBUG_LEVEL(l))
jk_log(l, JK_LOG_DEBUG,
- "error setting socket %d to nonblocking", sd);
+ "error setting socket %d to nonblocking", sd);
errno = save_errno;
JK_TRACE_EXIT(l);
return rc;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org