]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a cosmetic problem with mod_include. Non-existant SSI vars
authorRyan Bloom <rbb@apache.org>
Sun, 22 Jul 2001 23:00:52 +0000 (23:00 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 22 Jul 2001 23:00:52 +0000 (23:00 +0000)
used to appear as '(none', without the closing paren.
Submitted by: G�nter Knauf <eflash@gmx.net>

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

CHANGES
modules/filters/mod_include.c

diff --git a/CHANGES b/CHANGES
index 675125a51944b19ce782137a73077c3a67cd0a5f..c8b6d82f38b786866a8715169e74ad06574cbd8d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
 Changes with Apache 2.0.22-dev
 
+  *) Fix a cosmetic problem with mod_include.  Non-existant SSI vars
+     used to appear as '(none', without the closing paren.
+     [Günter Knauf <eflash@gmx.net>]
+
   *) Improve the exports generating awk script.  In the past, we had
      work around problems in the awk script by avoiding some #if and
      #ifdefs.  This has bitten us many times in generating the exports.c
index 503c73b69518561a4c3604286694687afeb8444b..319f4f7d5fd71315482b7019429f84b9fad458dc 100644 (file)
@@ -914,7 +914,7 @@ static int handle_echo(include_ctx_t *ctx, apr_bucket_brigade **bb, request_rec
                     tmp_buck = apr_bucket_heap_create(echo_text, e_len, 1, &e_wrt);
                 }
                 else {
-                    tmp_buck = apr_bucket_immortal_create("(none)", sizeof("none"));
+                    tmp_buck = apr_bucket_immortal_create("(none)", sizeof("(none)"));
                 }
                 APR_BUCKET_INSERT_BEFORE(head_ptr, tmp_buck);
                 if (*inserted_head == NULL) {