From 123c06b848b8569b0510fe91462371cdb5f6f6a9 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Thu, 10 Jun 2010 08:41:36 +0000 Subject: [PATCH] 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 --- include/http_log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0