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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org