Commit 674d24df authored by Cliff Woolley's avatar Cliff Woolley
Browse files

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
parent 4beac40d
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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;
}