aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index ebbc618d1..3bc1238d3 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -295,7 +295,7 @@ int rend_service_load_keys(void)
log_fn(LOG_INFO, "Loading hidden-service keys from '%s'", s->directory);
/* Check/create directory */
- if (check_private_dir(s->directory, 1) < 0)
+ if (check_private_dir(s->directory, CPD_CREATE) < 0)
return -1;
/* Load key */