summaryrefslogtreecommitdiff
path: root/modules/core/mod_macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/mod_macro.c')
-rw-r--r--modules/core/mod_macro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/mod_macro.c b/modules/core/mod_macro.c
index ad730054..75180930 100644
--- a/modules/core/mod_macro.c
+++ b/modules/core/mod_macro.c
@@ -15,7 +15,7 @@
*/
/*
- $Id: mod_macro.c 1455215 2013-03-11 16:28:43Z jim $
+ $Id: mod_macro.c 1562134 2014-01-28 18:11:59Z jim $
*/
#include "httpd.h"
@@ -468,7 +468,7 @@ static const char *process_content(apr_pool_t * pool,
int i;
if (result) {
- *result = apr_array_make(pool, 1, sizeof(char *));
+ *result = apr_array_make(pool, contents->nelts, sizeof(char *));
}
/* for each line of the macro body */