From: Joe Orton Date: Wed, 29 May 2013 16:12:10 +0000 (+0000) Subject: * modules/filters/mod_ratelimit.c (rate_limit_filter): Log the error X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c07644eda34bd9ce86dd9447b768941ec6356f0f;p=thirdparty%2Fapache%2Fhttpd.git * modules/filters/mod_ratelimit.c (rate_limit_filter): Log the error code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1487530 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_ratelimit.c b/modules/filters/mod_ratelimit.c index 611017875e8..939ab8e9662 100644 --- a/modules/filters/mod_ratelimit.c +++ b/modules/filters/mod_ratelimit.c @@ -187,7 +187,7 @@ rate_limit_filter(ap_filter_t *f, apr_bucket_brigade *input_bb) rv = apr_brigade_partition(bb, ctx->chunk_size, &stop_point); if (rv != APR_SUCCESS && rv != APR_INCOMPLETE) { ctx->state = RATE_ERROR; - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, f->r, APLOGNO(01456) + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r, APLOGNO(01456) "rl: partition failed."); break; }