Skip to content

Commit 73e7baa

Browse files
committed
mod_dav_lock: use the right dav_lock_discovery
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933353 13f79535-47bb-0310-9956-ffa450edef68
1 parent 08b7b97 commit 73e7baa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

modules/dav/lock/locks.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,13 +1190,13 @@ static dav_error * dav_generic_refresh_locks(dav_lockdb *lockdb,
11901190
}
11911191
if (dav_generic_do_refresh(dp_scan, ltl, new_time)) {
11921192
/* the lock was refreshed. return the lock. */
1193-
newlock = dav_generic_alloc_lock(lockdb, ip->key, dp->locktoken);
1193+
newlock = dav_generic_alloc_lock(lockdb, ip->key, dp_scan->locktoken);
11941194
newlock->is_locknull = !resource->exists;
1195-
newlock->scope = dp->f.scope;
1196-
newlock->type = dp->f.type;
1197-
newlock->depth = dp->f.depth;
1198-
newlock->timeout = dp->f.timeout;
1199-
newlock->owner = dp->owner;
1195+
newlock->scope = dp_scan->f.scope;
1196+
newlock->type = dp_scan->f.type;
1197+
newlock->depth = dp_scan->f.depth;
1198+
newlock->timeout = dp_scan->f.timeout;
1199+
newlock->owner = dp_scan->owner;
12001200
newlock->auth_user = dp_scan->auth_user;
12011201

12021202
newlock->next = *locks;

0 commit comments

Comments
 (0)