]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
More nits spotted by Justin, and catch all the errors except SYSCALL
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 1 Nov 2002 08:48:35 +0000 (08:48 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 1 Nov 2002 08:48:35 +0000 (08:48 +0000)
  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

ssl_engine_io.c

index 5e623d42c36bfd61e94336aa012a0274d46ae81a..de9734e32e105ccb6904603102c3e04432497255 100644 (file)
@@ -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.
                  */