From 812bc70dae80637548a0ccfab649f8912a09faf5 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Sun, 04 Apr 2004 07:45:30 +0000 Subject: Updated to new logging function with apaceh 2 prototype instead of 1.3 so i can properly log Error numbers in apache 2 (better debugging) --- (limited to 'apache20.h') diff --git a/apache20.h b/apache20.h index 1b54858..1c6d12c 100644 --- a/apache20.h +++ b/apache20.h @@ -20,7 +20,7 @@ #include "util_time.h" -static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); +/*static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); static inline void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) { static char buff[MAX_STRING_LEN]; @@ -29,6 +29,8 @@ static inline void log_error(char *file, int line, int level, const server_rec * apr_vsnprintf(buff,MAX_STRING_LEN, fmt,args); ap_log_error(file,line,level,0,s,"%s",buff); va_end(args); -} +}*/ + +#define log_error ap_log_error #endif /* APACHE20_H */ -- cgit v0.9.2