1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against

APR_SUCCESS.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Justin Erenkrantz
2004-08-01 01:12:30 +00:00
parent 6ca160f41f
commit 022f0af97c
6 changed files with 16 additions and 14 deletions

View File

@@ -1134,7 +1134,7 @@ static apr_status_t handle_exec(include_ctx_t *ctx, ap_filter_t *f,
SSI_EXPAND_LEAVE_NAME);
rv = include_cmd(ctx, f, bb, parsed_string);
if (!APR_STATUS_IS_SUCCESS(rv)) {
if (rv != APR_SUCCESS) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "execution failure "
"for parameter \"%s\" to tag exec in file %s",
tag, r->filename);
@@ -1149,7 +1149,7 @@ static apr_status_t handle_exec(include_ctx_t *ctx, ap_filter_t *f,
SSI_EXPAND_DROP_NAME);
rv = include_cgi(ctx, f, bb, parsed_string);
if (!APR_STATUS_IS_SUCCESS(rv)) {
if (rv != APR_SUCCESS) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "invalid CGI ref "
"\"%s\" in %s", tag_val, file);
SSI_CREATE_ERROR_BUCKET(ctx, f, bb);