Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
04f1ddaa
Commit
04f1ddaa
authored
Mar 29, 2017
by
Nick Mathewson
🎨
Browse files
Fix utimbuf initialization in storagedir/cleaning test
parent
fc02b8cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/test_storagedir.c
View file @
04f1ddaa
...
...
@@ -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
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment