summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-09 21:39:30 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-09 21:39:30 +0000
commit02ce8e6b12d023d9097a754c91e45a928dc9f4e4 (patch)
tree9d6b529b5c68a49777b9014a0ef60420a3d2249d /src/or/main.c
parentd62e37b4a9200c35f44176b6e3fd159f9d7d1ea2 (diff)
downloadtor-02ce8e6b12d023d9097a754c91e45a928dc9f4e4.tar.gz
tor-02ce8e6b12d023d9097a754c91e45a928dc9f4e4.zip
r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500
We have a PATH_SEPARATOR macro. How about we use it? svn:r9782
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 6a1dbf5acd..2220d1a9a4 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1189,7 +1189,7 @@ do_hup(void)
router_rebuild_descriptor(1);
descriptor = router_get_my_descriptor();
if (descriptor) {
- tor_snprintf(keydir,sizeof(keydir),"%s/router.desc",
+ tor_snprintf(keydir,sizeof(keydir),"%s"PATH_SEPARATOR"router.desc",
options->DataDirectory);
log_info(LD_OR,"Saving descriptor to \"%s\"...",keydir);
if (write_str_to_file(keydir, descriptor, 0)) {