summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/ssl/ssl_engine_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c
index 5e623d42c3..de9734e32e 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.
*/