1452 ucx_mempool_reg_destr(sn->mp, db, (ucx_destructor)destroy_db); |
1452 ucx_mempool_reg_destr(sn->mp, db, (ucx_destructor)destroy_db); |
1453 if (cmd_getoption(a, "verbose")) { |
1453 if (cmd_getoption(a, "verbose")) { |
1454 curl_easy_setopt(sn->handle, CURLOPT_VERBOSE, 1L); |
1454 curl_easy_setopt(sn->handle, CURLOPT_VERBOSE, 1L); |
1455 curl_easy_setopt(sn->handle, CURLOPT_STDERR, stderr); |
1455 curl_easy_setopt(sn->handle, CURLOPT_STDERR, stderr); |
1456 } |
1456 } |
|
1457 if(dir->hashing) { |
|
1458 sn->flags |= DAV_SESSION_STORE_HASH; |
|
1459 } |
1457 |
1460 |
1458 DavBool restore_removed = cmd_getoption(a, "restore-removed") ? 1 : 0; |
1461 DavBool restore_removed = cmd_getoption(a, "restore-removed") ? 1 : 0; |
1459 DavBool restore_modified = cmd_getoption(a, "restore-modified") ? 1 : 0; |
1462 DavBool restore_modified = cmd_getoption(a, "restore-modified") ? 1 : 0; |
1460 DavBool restore = restore_removed || restore_modified; |
1463 DavBool restore = restore_removed || restore_modified; |
1461 int depth = restore ? -1 : 0; |
1464 int depth = restore ? -1 : 0; |