summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
-rw-r--r--AUTHORS2
-rw-r--r--CHANGELOG6
-rw-r--r--mod_log_sql.c5
3 files changed, 7 insertions, 6 deletions
diff --git a/AUTHORS b/AUTHORS
index 887bda6..2e62393 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -4,7 +4,7 @@ The Apache Foundation
4Zeev Suraski <bourbon at netvision.net dot il> 4Zeev Suraski <bourbon at netvision.net dot il>
5 Adding the mysql routines (intial revisions) 5 Adding the mysql routines (intial revisions)
6 6
7Christopher B. Powell <chris at grubbybabby dot com> 7Christopher B. Powell <chris at grubbybaby dot com>
8 Maintainer since version 1.06 8 Maintainer since version 1.06
9 9
10Edward Rudd <eddie at omegaware dot com> 10Edward Rudd <eddie at omegaware dot com>
diff --git a/CHANGELOG b/CHANGELOG
index fbe49b5..d3b0713 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
1$Id: CHANGELOG,v 1.9 2004/01/22 05:26:56 urkle Exp $ 1$Id: CHANGELOG,v 1.10 2004/02/04 02:16:33 urkle Exp $
2 2
3TODO: 3TODO:
4* Port connection portion to other DBMS? Genericize the module? Start with 4* Port connection portion to other DBMS? Genericize the module? Start with
@@ -21,9 +21,11 @@ TODO:
21* rewrite main core logging function to optimize for speed. 21* rewrite main core logging function to optimize for speed.
22 22
23CHANGES: 23CHANGES:
241.94: ? 241.94: 2004-02-03
25* ssl loggin back in as separate module under 1.3 and 2.0 25* ssl loggin back in as separate module under 1.3 and 2.0
26* preparsing of format tags is now done to speed up main logging loop. 26* preparsing of format tags is now done to speed up main logging loop.
27* fixed a nasty bug with pointer arithmetic (ick) that caused a segfault with
28 LogSQLWhichCookies
27 29
281.93: 2004-01-20 301.93: 2004-01-20
29* Compiles for apache 1.3 AND 2.0 31* Compiles for apache 1.3 AND 2.0
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