[[[ Update log_access_verdict to make it work with httpd trunk as well as older server versions with reference to [1]. The function is being called with APLOG_MARK in few places. The macro APLOG_MARK expands to 2 arguments till httpd-2.2.x but 3 arguments in httpd-2.3-dev, which causes failure while compiling with httpd-2.3-dev. So we need to handle both the cases. log_access_verdict_httpd_v23 is the copy of log_access_verdict with one additional parameter module_index through which we can take the advantage of per-module loglevel configuration introduced in httpd-2.3. log_access_verdict_httpd_v22 is exactly same as log_access_verdict which will help to remain compatible with older server versions. These wrapper functions will be conditionally called in few other places with respect to httpd version. * subversion/mod_authz_svn/mod_authz_svn.c (log_access_verdict_httpd_v23): Copy of log_access_verdict with one additional parameter module_index for per-module log level configuration introduced in httpd-2.3. (log_access_verdict_httpd_v22): Renaming log_access_verdict to log_access_verdict_httpd_v22 to make it compatible with older server versions. (subreq_bypass, access_checker, check_user_id, auth_checker): Conditionally call log_access_verdict_* with respect to httpd version. [1] http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html#upgrading_logging Patch by: Vijayaguru G Suggested by: kameshj, stsp ]]]