From: Cliff Woolley Date: Thu, 23 Aug 2001 00:23:54 +0000 (+0000) Subject: Nit: the lack of brackets was driving me crazy X-Git-Tag: 2.0.25~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0797ef8079584d4fa105d1083b382a495791ad47;p=apache Nit: the lack of brackets was driving me crazy git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90531 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index cb45ee9cc7..f5a22ee37f 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -97,15 +97,17 @@ static int ssl_io_hook_read(SSL *ssl, unsigned char *buf, int len) /* * read(2) returns only the generic error number -1 */ - if (rc < 0) + if (rc < 0) { /* * XXX - Just trying to reflect the behaviour in * openssl_state_machine.c [mod_tls]. TBD */ rc = -1; + } } - else + else { rc = -1; + } return rc; } @@ -132,15 +134,17 @@ static int ssl_io_hook_write(SSL *ssl, unsigned char *buf, int len) /* * write(2) returns only the generic error number -1 */ - if (rc < 0) + if (rc < 0) { /* * XXX - Just trying to reflect the behaviour in * openssl_state_machine.c [mod_tls]. TBD */ rc = 0; + } } - else + else { rc = -1; + } return rc; }