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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c
index de6fe1a..7ec2100 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.4 2003/12/23 19:49:56 urkle Exp $ */ 1/* $Header: /home/cvs/mod_log_sql/mod_log_sql.c,v 1.5 2003/12/30 21:05:30 urkle Exp $ */
2/* --------* 2/* --------*
3 * DEFINES * 3 * DEFINES *
4 * --------*/ 4 * --------*/
@@ -785,7 +785,7 @@ static unsigned int safe_sql_query(request_rec *r, const char *query)
785 void (*handler) (int); 785 void (*handler) (int);
786 logsql_state *cls; 786 logsql_state *cls;
787 unsigned int real_error = 0; 787 unsigned int real_error = 0;
788 char *real_error_str = NULL; 788 const char *real_error_str = NULL;
789 789
790 /* A failed mysql_query() may send a SIGPIPE, so we ignore that signal momentarily. */ 790 /* A failed mysql_query() may send a SIGPIPE, so we ignore that signal momentarily. */
791 handler = signal(SIGPIPE, SIG_IGN); 791 handler = signal(SIGPIPE, SIG_IGN);