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-Tag: 2.0.44~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62c675067d7dd8ec22afe459064faf686add76f0;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@97369 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index 5e623d42c36..de9734e32e1 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/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. */