From 95b3925def0978c04f4e04e6a91489b2806ffe24 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 14 Jul 2014 20:48:32 +0000 Subject: [PATCH] Add missing APLOGNO + fix a typo in a comment r1610518 in trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1610522 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_deflate.c | 10 +++++----- modules/generators/mod_cgid.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 30115aae78..5b13a39582 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -131,7 +131,7 @@ static int check_gzip(request_rec *r, apr_table_t *hdrs1, apr_table_t *hdrs2) } } else if (ap_strchr_c(encoding, ',') != NULL) { - /* If the outermost encoding isn't gzip, there's nowt + /* If the outermost encoding isn't gzip, there's nothing * we can do. So only check the last non-identity token */ char *new_encoding = apr_pstrdup(r->pool, encoding); @@ -1272,7 +1272,7 @@ static apr_status_t deflate_in_filter(ap_filter_t *f, ctx->inflate_total += len; if (inflate_limit && ctx->inflate_total > inflate_limit) { inflateEnd(&ctx->stream); - ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(02647) "Inflated content length of %" APR_OFF_T_FMT " is larger than the configured limit" " of %" APR_OFF_T_FMT, @@ -1340,7 +1340,7 @@ static apr_status_t deflate_in_filter(ap_filter_t *f, ctx->inflate_total += len; if (inflate_limit && ctx->inflate_total > inflate_limit) { inflateEnd(&ctx->stream); - ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(02648) "Inflated content length of %" APR_OFF_T_FMT " is larger than the configured limit" " of %" APR_OFF_T_FMT, @@ -1350,7 +1350,7 @@ static apr_status_t deflate_in_filter(ap_filter_t *f, if (!check_ratio(r, ctx, dc)) { inflateEnd(&ctx->stream); - ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(02649) "Inflated content ratio is larger than the " "configured limit %i by %i time(s)", dc->ratio_limit, dc->ratio_burst); @@ -1790,7 +1790,7 @@ static apr_status_t inflate_out_filter(ap_filter_t *f, if (ctx->stream.avail_out == 0) { if (!check_ratio(r, ctx, dc)) { - ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(02650) "Inflated content ratio is larger than the " "configured limit %i by %i time(s)", dc->ratio_limit, dc->ratio_burst); diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 5cf548818f..26022d8498 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -1551,7 +1551,7 @@ static int cgid_handler(request_rec *r) if (rv != APR_SUCCESS) { /* silly script stopped reading, soak up remaining message */ child_stopped_reading = 1; - ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(02651) "Error writing request body to script %s", r->filename); -- 2.40.0