From 27ff4e58c03da0ac44923be62344d5f58f8b864e Mon Sep 17 00:00:00 2001 From: Cliff Woolley Date: Wed, 25 Apr 2001 17:07:40 +0000 Subject: [PATCH] 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 --- modules/filters/mod_include.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filters/mod_include.h b/modules/filters/mod_include.h index 0cb0427c8c5..6a92e0a57b3 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) { \ -- 2.47.2