You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2008/02/26 14:10:02 UTC
svn commit: r631208 - /tomcat/connectors/trunk/jni/native/src/network.c
Author: jfclere
Date: Tue Feb 26 05:10:02 2008
New Revision: 631208
URL: http://svn.apache.org/viewvc?rev=631208&view=rev
Log:
Otherwise optGet will never work.
Modified:
tomcat/connectors/trunk/jni/native/src/network.c
Modified: tomcat/connectors/trunk/jni/native/src/network.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/network.c?rev=631208&r1=631207&r2=631208&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/src/network.c (original)
+++ tomcat/connectors/trunk/jni/native/src/network.c Tue Feb 26 05:10:02 2008
@@ -1120,7 +1120,7 @@
apr_int32_t on = 0;
UNREFERENCED(o);
- if (s->sock)
+ if (!s->sock)
tcn_ThrowAPRException(e, APR_ENOTSOCK);
else {
TCN_THROW_IF_ERR((*s->net->opt_get)(s->opaque, (apr_int32_t)opt,
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org