From: Cliff Woolley Date: Wed, 25 Apr 2001 17:07:40 +0000 (+0000) Subject: Fix a reference to "ctx" in mod_include's CREATE_ERROR_BUCKET macro X-Git-Tag: 2.0.18~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27ff4e58c03da0ac44923be62344d5f58f8b864e;p=apache Fix a reference to "ctx" in mod_include's CREATE_ERROR_BUCKET macro to "cntx", which is the actual name of the argument to that macro. It accidentally worked before because all of the callers of the macro happen to be passing in a variable named "ctx". If one of them were to ever try to pass in a context named something else, bad things would happen. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88936 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.h b/modules/filters/mod_include.h index 0cb0427c8c..6a92e0a57b 100644 --- a/modules/filters/mod_include.h +++ b/modules/filters/mod_include.h @@ -175,7 +175,7 @@ typedef struct include_filter_ctx { { \ apr_size_t e_wrt; \ t_buck = apr_bucket_heap_create(cntx->error_str, \ - ctx->error_length, 1, &e_wrt); \ + cntx->error_length, 1, &e_wrt); \ APR_BUCKET_INSERT_BEFORE(h_ptr, t_buck); \ \ if (ins_head == NULL) { \