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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40904d465007dfc1f48e7f68d72360a0993dbd1c;p=thirdparty%2Fapache%2Fhttpd.git Nit: the lack of brackets was driving me crazy git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@90531 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index cb45ee9cc74..f5a22ee37fa 100644 --- a/ssl_engine_io.c +++ b/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; }