diff options
author | Edward Rudd | 2004-04-29 21:26:03 +0000 |
---|---|---|
committer | Edward Rudd | 2004-04-29 21:26:03 +0000 |
commit | 87b590e56963dc318e8cf944d1f6ef978a0d03cc (patch) | |
tree | 52f8c1b2428d67f89fec424b7551dbb993689afb | |
parent | 7c378cc1fac4e9fec1ca32d8d314ea86761a7404 (diff) |
fixed signal macros
-rw-r--r-- | mod_log_sql_mysql.c | 4 |
1 files 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, | |||
114 | #define SIGNAL_RELEASE | 114 | #define SIGNAL_RELEASE |
115 | #define SIGNAL_VAR | 115 | #define SIGNAL_VAR |
116 | #else | 116 | #else |
117 | #define SIGNAL_VAR void (*handler) (int) | 117 | #define SIGNAL_VAR void (*handler) (int); |
118 | #define SIGNAL_GRAB handler = signal(SIGPIPE, SIG_IGN) | 118 | #define SIGNAL_GRAB handler = signal(SIGPIPE, SIG_IGN); |
119 | #define SIGNAL_RELEASE signal(SIGPIPE, handler); | 119 | #define SIGNAL_RELEASE signal(SIGPIPE, handler); |
120 | #endif | 120 | #endif |
121 | /* Run a mysql insert query and return a categorized error or success */ | 121 | /* Run a mysql insert query and return a categorized error or success */ |