aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-09 07:12:31 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-09 07:12:31 +0000
commit180e0a9326a1383cf3a945e84700f99f5f9e4df1 (patch)
tree1839878e30f80d127ef798159b227add6200259c /src/or/rendservice.c
parent6521c2ce51b3b808dd8ef5c47dc9995acce149e5 (diff)
downloadtor-180e0a9326a1383cf3a945e84700f99f5f9e4df1.tar
tor-180e0a9326a1383cf3a945e84700f99f5f9e4df1.tar.gz
Make check_private_dir trimodal (check/create/ignore), not bimodal (create/ignore).
svn:r2733
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 */