mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Fix utimbuf initialization in storagedir/cleaning test
This commit is contained in:
parent
fc02b8cf7a
commit
04f1ddaa2a
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user