diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-04 12:26:55 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-05 09:11:06 -0400 |
commit | c276c10d3b262e119c114c2e1aa3446a8364506f (patch) | |
tree | a768ed8ea7b23173c9c539c262cc7c60d9606031 /src/test/test_consdiffmgr.c | |
parent | c9855928744a556ef882ef8409ba8b54afd11834 (diff) | |
download | tor-c276c10d3b262e119c114c2e1aa3446a8364506f.tar.gz tor-c276c10d3b262e119c114c2e1aa3446a8364506f.zip |
Turn consdiffmgr.cache_max_age_hours into a parameter
Diffstat (limited to 'src/test/test_consdiffmgr.c')
-rw-r--r-- | src/test/test_consdiffmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_consdiffmgr.c b/src/test/test_consdiffmgr.c index 9d0c5b5b71..048964f404 100644 --- a/src/test/test_consdiffmgr.c +++ b/src/test/test_consdiffmgr.c @@ -28,7 +28,7 @@ consdiffmgr_test_setup(const struct testcase_t *arg) get_options_mutable()->DataDirectory = ddir_fname; // now owns the pointer. check_private_dir(ddir_fname, CPD_CREATE, NULL); - consdiff_cfg_t consdiff_cfg = { 7200, 300 }; + consdiff_cfg_t consdiff_cfg = { 300 }; consdiffmgr_configure(&consdiff_cfg); return (void *)1; // must return something non-null. } |