You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2008/01/07 14:52:49 UTC

svn commit: r609609 - /httpd/httpd/trunk/modules/http/http_filters.c

Author: rpluem
Date: Mon Jan  7 05:52:49 2008
New Revision: 609609

URL: http://svn.apache.org/viewvc?rev=609609&view=rev
Log:
* HTTP error codes are int's not apr_status_t's.

Noted by: Takashi Sato <serai lans-tv.com>

Modified:
    httpd/httpd/trunk/modules/http/http_filters.c

Modified: httpd/httpd/trunk/modules/http/http_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_filters.c?rev=609609&r1=609608&r2=609609&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_filters.c (original)
+++ httpd/httpd/trunk/modules/http/http_filters.c Mon Jan  7 05:52:49 2008
@@ -80,7 +80,7 @@
 
 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 @@
     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. */