summaryrefslogtreecommitdiffstatsabout
path: root/apache20.h
diff options
context:
space:
mode:
Diffstat (limited to 'apache20.h')
-rw-r--r--apache20.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apache20.h b/apache20.h
index 1b54858..1c6d12c 100644
--- a/apache20.h
+++ b/apache20.h
@@ -20,7 +20,7 @@
20 20
21#include "util_time.h" 21#include "util_time.h"
22 22
23static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); 23/*static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6)));
24static inline void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) 24static inline void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...)
25{ 25{
26 static char buff[MAX_STRING_LEN]; 26 static char buff[MAX_STRING_LEN];
@@ -29,6 +29,8 @@ static inline void log_error(char *file, int line, int level, const server_rec *
29 apr_vsnprintf(buff,MAX_STRING_LEN, fmt,args); 29 apr_vsnprintf(buff,MAX_STRING_LEN, fmt,args);
30 ap_log_error(file,line,level,0,s,"%s",buff); 30 ap_log_error(file,line,level,0,s,"%s",buff);
31 va_end(args); 31 va_end(args);
32} 32}*/
33
34#define log_error ap_log_error
33 35
34#endif /* APACHE20_H */ 36#endif /* APACHE20_H */