diff options
Diffstat (limited to 'apache13.h')
-rw-r--r-- | apache13.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -14,13 +14,6 @@ | |||
14 | #define APR_SUCCESS 0 | 14 | #define APR_SUCCESS 0 |
15 | #define APR_OFFSETOF XtOffsetOf | 15 | #define APR_OFFSETOF XtOffsetOf |
16 | 16 | ||
17 | /*AP_INIT_TAKE1("LogSQLTransferLogTable", set_server_nmv_string_slot, | ||
18 | (void *)APR_OFFSETOF(logsql_state, transfer_table_name), RSRC_CONF, | ||
19 | "The database table that holds the transfer log") | ||
20 | |||
21 | {"LogSQLTransferLogTable", set_log_sql_transfer_table, NULL, RSRC_CONF, TAKE1, | ||
22 | "The database table that holds the transfer log"}*/ | ||
23 | |||
24 | /** method of declaring a directive which takes 1 argument */ | 17 | /** method of declaring a directive which takes 1 argument */ |
25 | # define AP_INIT_TAKE1(directive, func, mconfig, where, help) \ | 18 | # define AP_INIT_TAKE1(directive, func, mconfig, where, help) \ |
26 | { directive, func, mconfig, where, TAKE1, help } | 19 | { directive, func, mconfig, where, TAKE1, help } |
@@ -66,8 +59,8 @@ | |||
66 | 59 | ||
67 | #define apr_tolower ap_tolower | 60 | #define apr_tolower ap_tolower |
68 | 61 | ||
69 | static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); | 62 | static void log_error(char *file, int line, int level, apr_status_t status, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); |
70 | static inline void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) | 63 | static inline void log_error(char *file, int line, int level, apr_status_t status, const server_rec *s, const char *fmt, ...) |
71 | { | 64 | { |
72 | static char buff[MAX_STRING_LEN]; | 65 | static char buff[MAX_STRING_LEN]; |
73 | va_list args; | 66 | va_list args; |