View | Details | Raw Unified | Return to bug 50773
Collapse All | Expand All

(-)lock.c (-1 / +2 lines)
Lines 655-663 Link Here
655
            offset += sizeof(ip->key.dsize);
655
            offset += sizeof(ip->key.dsize);
656
            ip->key.dptr = apr_pmemdup(p, val.dptr + offset, ip->key.dsize);
656
            ip->key.dptr = apr_pmemdup(p, val.dptr + offset, ip->key.dsize);
657
            offset += ip->key.dsize;
657
            offset += ip->key.dsize;
658
658
659
            if (!dav_fs_lock_expired(ip->timeout)) {
659
            if (!dav_fs_lock_expired(ip->timeout) && dav_dbm_exists(lockdb->info->db, ip->key)) {
660
                ip->next = *indirect;
660
                ip->next = *indirect;
661
                *indirect = ip;
661
                *indirect = ip;
662
            }
662
            }
663
            else {
663
            else {
Lines 1125-1132 Link Here
1125
        }
1125
        }
1126
        else {
1126
        else {
1127
            /* DAV_GETLOCKS_PARTIAL */
1127
            /* DAV_GETLOCKS_PARTIAL */
1128
            newlock->rectype = DAV_LOCKREC_INDIRECT_PARTIAL;
1128
            newlock->rectype = DAV_LOCKREC_INDIRECT_PARTIAL;
1129
			newLock->timeout = ip->timeout;
1129
        }
1130
        }
1130
1131
1131
        /* hook into the result list */
1132
        /* hook into the result list */
1132
        newlock->next = lock;
1133
        newlock->next = lock;

Return to bug 50773