aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-06-30 16:37:08 +0000
committerNick Mathewson <nickm@torproject.org>2004-06-30 16:37:08 +0000
commitb1e9adf05612959b20da5f8078a7e2edf27b4e74 (patch)
tree5c6ba98675dcc38d84da609736c7b3de08f264bd /src/common/util.h
parent653aaeef08764b80820f87b916f5833f64f9ebbe (diff)
downloadtor-b1e9adf05612959b20da5f8078a7e2edf27b4e74.tar.gz
tor-b1e9adf05612959b20da5f8078a7e2edf27b4e74.zip
Always use get_data_directory() instead of options.DataDirectory; fix a memory leak in router.c
svn:r1991
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 40154e8bfa..4b44d1a44c 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -235,7 +235,7 @@ int is_internal_IP(uint32_t ip);
const char *get_uname(void);
-void start_daemon(char *desired_cwd);
+void start_daemon(const char *desired_cwd);
void finish_daemon(void);
void write_pidfile(char *filename);