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 2015/06/26 16:53:22 UTC

svn commit: r1687781 - /tomcat/native/trunk/native/src/ssl.c

Author: jfclere
Date: Fri Jun 26 14:53:21 2015
New Revision: 1687781

URL: http://svn.apache.org/r1687781
Log:
Fix a warning.

Modified:
    tomcat/native/trunk/native/src/ssl.c

Modified: tomcat/native/trunk/native/src/ssl.c
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/ssl.c?rev=1687781&r1=1687780&r2=1687781&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/ssl.c (original)
+++ tomcat/native/trunk/native/src/ssl.c Fri Jun 26 14:53:21 2015
@@ -1149,7 +1149,7 @@ TCN_IMPLEMENT_CALL(jlong /* SSL * */, SS
     }
     if ((con = apr_pcalloc(c->pool, sizeof(tcn_ssl_conn_t))) == NULL) {
         tcn_ThrowAPRException(e, apr_get_os_error());
-        return NULL;
+        return 0;
     }
     con->pool = c->pool;
     con->ctx  = c;



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