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 2006/12/10 20:58:33 UTC

svn commit: r485245 - /tomcat/connectors/trunk/jk/native/common/jk_connect.c

Author: rjung
Date: Sun Dec 10 11:58:31 2006
New Revision: 485245

URL: http://svn.apache.org/viewvc?view=rev&rev=485245
Log:
Fix old time compilation warning on solaris (unused var)
by using the same pre processor #else condition as in the code below.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_connect.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_connect.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_connect.c?view=diff&rev=485245&r1=485244&r2=485245
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_connect.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_connect.c Sun Dec 10 11:58:31 2006
@@ -497,7 +497,7 @@
     int rc = 0;
 #if defined(WIN32) || (defined(NETWARE) && defined(__NOVELL_LIBC__))
     int tmout = SECONDS_TO_LINGER * 1000;
-#else
+#elif defined(SO_RCVTIMEO) && defined(USE_SO_RCVTIMEO)
     struct timeval tv;
 #endif
     if (!IS_VALID_SOCKET(s))



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org