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 a0e70be52f..cfc5841120 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -317,7 +317,7 @@ int rend_service_load_keys(void)
return -1;
}
sprintf(buf, "%s.onion\n", s->service_id);
- if (write_str_to_file(fname,buf)<0)
+ if (write_str_to_file(fname,buf,0)<0)
return -1;
}
return 0;