From: William A. Rowe Jr Date: Fri, 1 Nov 2002 08:48:35 +0000 (+0000) Subject: More nits spotted by Justin, and catch all the errors except SYSCALL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b7d420a7610d3ecc73b0ae13e1e45b31fff231a;p=thirdparty%2Fapache%2Fhttpd.git More nits spotted by Justin, and catch all the errors except SYSCALL in the SSL logging section. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97369 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index 5e623d42c36..de9734e32e1 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -708,13 +708,13 @@ static apr_status_t ssl_io_input_read(bio_filter_in_ctx_t *ctx, break; /* non fatal error */ } } - if (ssl_err == SSL_ERROR_SYSCALL) { + else if (ssl_err == SSL_ERROR_SYSCALL) { conn_rec *c = (conn_rec *)SSL_get_app_data(ctx->frec->pssl); ap_log_error(APLOG_MARK, APLOG_ERR, ctx->rc, c->base_server, "SSL filter error reading data"); break; } - else if (ssl_err == SSL_ERROR_SSL) { + else /* if (ssl_err == SSL_ERROR_SSL) */ { /* * Log SSL errors and any unexpected conditions. */