Skip to content
Snippets Groups Projects
Commit 04f1ddaa authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix utimbuf initialization in storagedir/cleaning test

parent fc02b8cf
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,7 @@ test_storagedir_cleaning(void *arg)
time_t now = time(NULL);
struct utimbuf ub;
ub.actime = now;
ub.modtime -= 1000;
ub.modtime = now - 1000;
for (i = 0; i < 8; ++i) {
char *f = NULL;
tor_asprintf(&f, "%s/%s", dirname, fns[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment