httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1526647 - /httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c
Date Thu, 26 Sep 2013 19:14:39 GMT
Author: trawick
Date: Thu Sep 26 19:14:39 2013
New Revision: 1526647

URL: http://svn.apache.org/r1526647
Log:
allow building mod_authnz_fcgi with 2.4.x branch

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c?rev=1526647&r1=1526646&r2=1526647&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c Thu Sep 26 19:14:39 2013
@@ -29,6 +29,7 @@
 #include "ap_provider.h"
 #include "mod_auth.h"
 #include "util_fcgi.h"
+#include "ap_mmn.h"
 
 module AP_MODULE_DECLARE_DATA authnz_fcgi_module;
 
@@ -181,9 +182,11 @@ static apr_status_t recv_data(const fcgi
                       conf->backend);
         return rv;
     }
- 
+
+#if AP_MODULE_MAGIC_AT_LEAST(20130702,2) 
     ap_log_rdata(APLOG_MARK, APLOG_TRACE5, r, "FastCGI data received",
                  buf, *buflen, AP_LOG_DATA_SHOW_OFFSET);
+#endif
     return APR_SUCCESS;
 }
 
@@ -222,8 +225,10 @@ static apr_status_t sendv_data(const fcg
 
     for (i = 0; i < nvec; i++) {
         to_write += vec[i].iov_len;
+#if AP_MODULE_MAGIC_AT_LEAST(20130702,2) 
         ap_log_rdata(APLOG_MARK, APLOG_TRACE5, r, "FastCGI data sent",
                      vec[i].iov_base, vec[i].iov_len, AP_LOG_DATA_SHOW_OFFSET);
+#endif
     }
 
     offset = 0;



Mime
View raw message