summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-11-01 08:48:35 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-11-01 08:48:35 +0000
commit62c675067d7dd8ec22afe459064faf686add76f0 (patch)
tree691722533a3c0e055918ac2f01240c636339dc3b /modules
parent6a632267524248553efe5e7ff9e159149efc028a (diff)
downloadhttpd-62c675067d7dd8ec22afe459064faf686add76f0.tar.gz
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
Diffstat (limited to 'modules')
-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.
*/