]> granicus.if.org Git - apache/commitdiff
Add missing APLOGNO + fix a typo in a comment
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 14 Jul 2014 20:48:32 +0000 (20:48 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 14 Jul 2014 20:48:32 +0000 (20:48 +0000)
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
modules/generators/mod_cgid.c

index 30115aae783dc994317fe1b6840a5ada64c440ff..5b13a39582dad66b52120da5eed4fd4c51843d37 100644 (file)
@@ -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);
index 5cf548818f422fbfd16d3fecfb3c3ce038aa3229..26022d8498869596d3aba8f49afc0ce6a74b77ec 100644 (file)
@@ -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);