From: Eric Covener Date: Sun, 26 Apr 2026 16:04:35 +0000 (+0000) Subject: Merge r1933353 from trunk: X-Git-Tag: 2.4.67-rc1-candidate~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=225dc070adba11040b774cf641e1d8bc79941643;p=thirdparty%2Fapache%2Fhttpd.git Merge r1933353 from trunk: mod_dav_lock: use the right dav_lock_discovery git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1933354 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/dav/lock/locks.c b/modules/dav/lock/locks.c index 0f072ec0647..d357e4572d1 100644 --- a/modules/dav/lock/locks.c +++ b/modules/dav/lock/locks.c @@ -1190,13 +1190,13 @@ static dav_error * dav_generic_refresh_locks(dav_lockdb *lockdb, } if (dav_generic_do_refresh(dp_scan, ltl, new_time)) { /* the lock was refreshed. return the lock. */ - newlock = dav_generic_alloc_lock(lockdb, ip->key, dp->locktoken); + newlock = dav_generic_alloc_lock(lockdb, ip->key, dp_scan->locktoken); newlock->is_locknull = !resource->exists; - newlock->scope = dp->f.scope; - newlock->type = dp->f.type; - newlock->depth = dp->f.depth; - newlock->timeout = dp->f.timeout; - newlock->owner = dp->owner; + newlock->scope = dp_scan->f.scope; + newlock->type = dp_scan->f.type; + newlock->depth = dp_scan->f.depth; + newlock->timeout = dp_scan->f.timeout; + newlock->owner = dp_scan->owner; newlock->auth_user = dp_scan->auth_user; newlock->next = *locks;