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
David Goulet
Tor
Commits
22efe203
Commit
22efe203
authored
Jun 14, 2011
by
Nick Mathewson
🥄
Browse files
Fix another check_private_dir instance in master
parent
8839b860
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/rephist.c
View file @
22efe203
...
...
@@ -2758,7 +2758,7 @@ rep_hist_conn_stats_write(time_t now)
/* Try to write to disk. */
statsdir
=
get_datadir_fname
(
"stats"
);
if
(
check_private_dir
(
statsdir
,
CPD_CREATE
)
<
0
)
{
if
(
check_private_dir
(
statsdir
,
CPD_CREATE
,
get_options
()
->
User
)
<
0
)
{
log_warn
(
LD_HIST
,
"Unable to create stats/ directory!"
);
goto
done
;
}
...
...
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