From: Ryan Bloom Date: Sun, 22 Jul 2001 23:00:52 +0000 (+0000) Subject: Fix a cosmetic problem with mod_include. Non-existant SSI vars X-Git-Tag: 2.0.22~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46ff196b3206178630af807271b8e4afa4ff384c;p=thirdparty%2Fapache%2Fhttpd.git Fix a cosmetic problem with mod_include. Non-existant SSI vars used to appear as '(none', without the closing paren. Submitted by: G�nter Knauf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89651 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 675125a5194..c8b6d82f38b 100644 --- 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 ] + *) 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 diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 503c73b6951..319f4f7d5fd 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -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) {