]> granicus.if.org Git - apache/commitdiff
* HTTP error codes are int's not apr_status_t's.
authorRuediger Pluem <rpluem@apache.org>
Mon, 7 Jan 2008 13:52:49 +0000 (13:52 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 7 Jan 2008 13:52:49 +0000 (13:52 +0000)
Noted by: Takashi Sato <serai lans-tv.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@609609 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index 37e7b95f1e4b80ba694c998abccd1eb9ef0bdc83..9ce581a849e4f22916c99ae76414be0088ee2277 100644 (file)
@@ -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. */