You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2023/08/25 07:44:08 UTC

svn commit: r1911906 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

Author: jorton
Date: Fri Aug 25 07:44:08 2023
New Revision: 1911906

URL: http://svn.apache.org/viewvc?rev=1911906&view=rev
Log:
* modules/dav/main/mod_dav.c (dav_get_resource): Don't mask
  "conf" variable.

Modified:
    httpd/httpd/trunk/modules/dav/main/mod_dav.c

Modified: httpd/httpd/trunk/modules/dav/main/mod_dav.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/main/mod_dav.c?rev=1911906&r1=1911905&r2=1911906&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/main/mod_dav.c (original)
+++ httpd/httpd/trunk/modules/dav/main/mod_dav.c Fri Aug 25 07:44:08 2023
@@ -831,9 +831,9 @@ DAV_DECLARE(dav_error *) dav_get_resourc
         /* In the error path, give a hint that DavBasePath needs to be
          * used if the location was configured via a regex match. */
         if (!conf->base) {
-            core_dir_config *conf = ap_get_core_module_config(r->per_dir_config);
+            core_dir_config *cdc = ap_get_core_module_config(r->per_dir_config);
 
-            if (conf->r) {
+            if (cdc->r) {
                 ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, APLOGNO(10484)
                              "failed to find repository for location configured "
                              "via regex match - missing DAVBasePath?");