git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90531
13f79535-47bb-0310-9956-
ffa450edef68
/*
* 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;
}
/*
* 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;
}