MCPcopy Create free account
hub / github.com/apache/httpd / dav_fs_do_refresh

Function dav_fs_do_refresh

modules/dav/fs/lock.c:1319–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317}
1318
1319static int dav_fs_do_refresh(dav_lock_discovery *dp,
1320 const dav_locktoken_list *ltl,
1321 time_t new_time)
1322{
1323 int dirty = 0;
1324
1325 for (; ltl != NULL; ltl = ltl->next) {
1326 if (dav_compare_locktoken(dp->locktoken, ltl->locktoken) == 0)
1327 {
1328 dp->f.timeout = new_time;
1329 dirty = 1;
1330 break;
1331 }
1332 }
1333
1334 return dirty;
1335}
1336
1337static dav_error * dav_fs_refresh_locks(dav_lockdb *lockdb,
1338 const dav_resource *resource,

Callers 1

dav_fs_refresh_locksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected