summaryrefslogtreecommitdiffstats
path: root/mod_log_sql.c
diff options
context:
space:
mode:
Diffstat (limited to 'mod_log_sql.c')
-rw-r--r--mod_log_sql.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c
index 68c1e98..f4b8c16 100644
--- a/mod_log_sql.c
+++ b/mod_log_sql.c
@@ -1,4 +1,4 @@
1/* $Header: /home/cvs/mod_log_sql/mod_log_sql.c,v 1.12 2004/01/22 05:26:56 urkle Exp $ */ 1/* $Header: /home/cvs/mod_log_sql/mod_log_sql.c,v 1.13 2004/02/04 02:16:33 urkle Exp $ */
2/* --------* 2/* --------*
3 * DEFINES * 3 * DEFINES *
4 * --------*/ 4 * --------*/
@@ -629,8 +629,7 @@ static const char *add_server_string_slot(cmd_parms *cmd,
629 void *ptr = ap_get_module_config(cmd->server->module_config, 629 void *ptr = ap_get_module_config(cmd->server->module_config,
630 &log_sql_module); 630 &log_sql_module);
631 int offset = (int)(long)cmd->info; 631 int offset = (int)(long)cmd->info;
632 apr_array_header_t *ary = *(apr_array_header_t **)((apr_array_header_t *)ptr + offset); 632 apr_array_header_t *ary = *(apr_array_header_t **)(ptr + offset);
633
634 addme = apr_array_push(ary); 633 addme = apr_array_push(ary);
635 *addme = apr_pstrdup(ary->pool, arg); 634 *addme = apr_pstrdup(ary->pool, arg);
636 635