--- parser3/src/targets/apache/mod_parser3.c 2013/07/24 21:38:43 1.16 +++ parser3/src/targets/apache/mod_parser3.c 2017/02/07 22:00:45 1.19 @@ -1,7 +1,7 @@ /** @file Parser: apache 1.3 and 2.2 module - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -15,7 +15,7 @@ #include "pa_httpd.h" -volatile const char * IDENT_MOD_PARSER3_C="$Id: mod_parser3.c,v 1.16 2013/07/24 21:38:43 moko Exp $" IDENT_PA_HTTPD_H; +volatile const char * IDENT_MOD_PARSER3_C="$Id: mod_parser3.c,v 1.19 2017/02/07 22:00:45 moko Exp $" IDENT_PA_HTTPD_H; #define PARSER3_HANDLER "parser3-handler" @@ -243,7 +243,11 @@ void pa_ap_log_rerror(const char *file, str=va_arg(l, const char*); va_end(l); - ap_log_rerror(file, line, level, + ap_log_rerror(file, line, +#if (AP_SERVER_MAJORVERSION_NUMBER == 2) && (AP_SERVER_MINORVERSION_NUMBER >= 4) + APLOG_MODULE_INDEX, +#endif + level, #ifdef STANDARD20_MODULE_STUFF 0, #endif @@ -258,7 +262,11 @@ void pa_ap_log_error(const char *file, i str=va_arg(l, const char*); va_end(l); - ap_log_error(file, line, level, + ap_log_error(file, line, +#if (AP_SERVER_MAJORVERSION_NUMBER == 2) && (AP_SERVER_MINORVERSION_NUMBER >= 4) + APLOG_MODULE_INDEX, +#endif + level, #ifdef STANDARD20_MODULE_STUFF 0, #endif