summaryrefslogtreecommitdiffstats
path: root/apache20.h
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2004-01-21 04:34:21 +0000
committerGravatar Edward Rudd 2004-01-21 04:34:21 +0000
commitb19a5851171395e196ed686977482d79d7140cfd (patch)
tree5e8edc605c5aca8cb95252fbb30ea008b40dd78f /apache20.h
parentf26e43417ed614aa5e6c328f1610f1fca4708e99 (diff)
fixed log_error function1.93
finished ssl split into separate module added item registration function. (for ssl sub-module) release 1.93
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 8a34643..1b54858 100644
--- a/apache20.h
+++ b/apache20.h
@@ -1,4 +1,4 @@
1/* $Header: /home/cvs/mod_log_sql/apache20.h,v 1.2 2004/01/20 19:38:07 urkle Exp $ */ 1/* $Header: /home/cvs/mod_log_sql/apache20.h,v 1.3 2004/01/21 04:34:21 urkle Exp $ */
2#ifndef APACHE20_H 2#ifndef APACHE20_H
3#define APACHE20_H 3#define APACHE20_H
4 4
@@ -23,9 +23,11 @@
23static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); 23static 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 va_list args; 27 va_list args;
27 va_start(args, fmt); 28 va_start(args, fmt);
28 ap_log_error(file,line,level,0,s,fmt,args); 29 apr_vsnprintf(buff,MAX_STRING_LEN, fmt,args);
30 ap_log_error(file,line,level,0,s,"%s",buff);
29 va_end(args); 31 va_end(args);
30} 32}
31 33