httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r953248 - /httpd/httpd/trunk/include/http_log.h
Date Thu, 10 Jun 2010 08:41:36 GMT
Author: rjung
Date: Thu Jun 10 08:41:36 2010
New Revision: 953248

URL: http://svn.apache.org/viewvc?rev=953248&view=rev
Log:
Fix ap_log_perror macro in case of C99 compilation with
APLOG_MAX_LOGLEVEL defined.

Modified:
    httpd/httpd/trunk/include/http_log.h

Modified: httpd/httpd/trunk/include/http_log.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_log.h?rev=953248&r1=953247&r2=953248&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_log.h (original)
+++ httpd/httpd/trunk/include/http_log.h Thu Jun 10 08:41:36 2010
@@ -315,8 +315,8 @@ AP_DECLARE(void) ap_log_error_(const cha
 #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



Mime
View raw message