From: Ruediger Pluem Date: Mon, 7 Jan 2008 13:52:49 +0000 (+0000) Subject: * HTTP error codes are int's not apr_status_t's. X-Git-Tag: 2.3.0~1044 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f06993196366e9cc5fe53ab1bf079bd12add73;p=thirdparty%2Fapache%2Fhttpd.git * HTTP error codes are int's not apr_status_t's. Noted by: Takashi Sato git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@609609 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 37e7b95f1e4..9ce581a849e 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -80,7 +80,7 @@ typedef struct http_filter_ctx { static apr_status_t bail_out_on_error(http_ctx_t *ctx, ap_filter_t *f, - apr_status_t http_error) + int http_error) { apr_bucket *e; apr_bucket_brigade *bb = ctx->bb; @@ -204,7 +204,7 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, http_ctx_t *ctx = f->ctx; apr_status_t rv; apr_off_t totalread; - apr_status_t http_error = HTTP_REQUEST_ENTITY_TOO_LARGE; + int http_error = HTTP_REQUEST_ENTITY_TOO_LARGE; apr_bucket_brigade *bb; /* just get out of the way of things we don't want. */