mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
- Remove APR_STATUS_IS_SUCCESS calls in favor of directly testing APR_SUCCESS.
- Minor style nit with spaces. (No functional changes.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -332,7 +332,7 @@ static int log_script(request_rec *r, cgi_server_conf * conf, int ret,
|
||||
break;
|
||||
}
|
||||
rv = apr_bucket_read(e, &buf, &len, APR_BLOCK_READ);
|
||||
if (!APR_STATUS_IS_SUCCESS(rv) || (len == 0)) {
|
||||
if (rv != APR_SUCCESS || (len == 0)) {
|
||||
break;
|
||||
}
|
||||
if (first) {
|
||||
@@ -592,7 +592,7 @@ static void discard_script_output(apr_bucket_brigade *bb)
|
||||
break;
|
||||
}
|
||||
rv = apr_bucket_read(e, &buf, &len, APR_BLOCK_READ);
|
||||
if (!APR_STATUS_IS_SUCCESS(rv)) {
|
||||
if (rv != APR_SUCCESS) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user