From 87b590e56963dc318e8cf944d1f6ef978a0d03cc Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Thu, 29 Apr 2004 21:26:03 +0000 Subject: fixed signal macros --- mod_log_sql_mysql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_log_sql_mysql.c b/mod_log_sql_mysql.c index e8a149e..e64044e 100644 --- a/mod_log_sql_mysql.c +++ b/mod_log_sql_mysql.c @@ -114,8 +114,8 @@ static const char *log_sql_mysql_escape(const char *from_str, apr_pool_t *p, #define SIGNAL_RELEASE #define SIGNAL_VAR #else -#define SIGNAL_VAR void (*handler) (int) -#define SIGNAL_GRAB handler = signal(SIGPIPE, SIG_IGN) +#define SIGNAL_VAR void (*handler) (int); +#define SIGNAL_GRAB handler = signal(SIGPIPE, SIG_IGN); #define SIGNAL_RELEASE signal(SIGPIPE, handler); #endif /* Run a mysql insert query and return a categorized error or success */ -- cgit