diff options
-rw-r--r-- | utility/logparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utility/logparse.c b/utility/logparse.c index 7ea6bc1..086f454 100644 --- a/utility/logparse.c +++ b/utility/logparse.c | |||
@@ -146,6 +146,7 @@ static void parser_add_func(apr_pool_t *p, const char *const name, | |||
146 | s = apr_palloc(p, sizeof(parser_func_t)); | 146 | s = apr_palloc(p, sizeof(parser_func_t)); |
147 | s->func = func; | 147 | s->func = func; |
148 | s->pos = id; | 148 | s->pos = id; |
149 | s->data = NULL; | ||
149 | s->linedata = &g_parser_linedata; | 150 | s->linedata = &g_parser_linedata; |
150 | apr_hash_set(g_parser_funcs, lowerstr(p, name), APR_HASH_KEY_STRING, s); | 151 | apr_hash_set(g_parser_funcs, lowerstr(p, name), APR_HASH_KEY_STRING, s); |
151 | } | 152 | } |