From: Rainer Jung Date: Thu, 10 Jun 2010 08:41:36 +0000 (+0000) Subject: Fix ap_log_perror macro in case of C99 compilation with X-Git-Tag: 2.3.6~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=123c06b848b8569b0510fe91462371cdb5f6f6a9;p=apache Fix ap_log_perror macro in case of C99 compilation with APLOG_MAX_LOGLEVEL defined. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953248 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_log.h b/include/http_log.h index 802126a7b2..c770ff4441 100644 --- a/include/http_log.h +++ b/include/http_log.h @@ -315,8 +315,8 @@ AP_DECLARE(void) ap_log_error_(const char *file, int line, int module_index, #define ap_log_perror(...) ap_log_perror__(__VA_ARGS__) #define ap_log_perror__(file, line, mi, level, status, p, ...) \ do { if ((level) <= APLOG_MAX_LOGLEVEL ) \ - ap_do_log_perror(file, line, mi, level, status, p, \ - __VA_ARGS__); } while(0) + ap_log_perror_(file, line, mi, level, status, p, \ + __VA_ARGS__); } while(0) #else #define ap_log_perror ap_log_perror_ #endif