summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-11-19 22:45:06 +0000
committerRoger Dingledine <arma@torproject.org>2003-11-19 22:45:06 +0000
commitd6601f8cff2d95376ea79394dd7373564c754835 (patch)
treee11f374aa82e57cba3a380023dad0270f0a38032 /src/or/config.c
parent4565150db252ffb2e689cc290ab532ec3cac511c (diff)
downloadtor-d6601f8cff2d95376ea79394dd7373564c754835.tar.gz
tor-d6601f8cff2d95376ea79394dd7373564c754835.zip
make pidfile default to null rather than writing to your cwd
svn:r853
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 414bcf93b2..0c955f172a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -259,7 +259,7 @@ void init_options(or_options_t *options) {
options->DirBindAddress = tor_strdup("0.0.0.0");
options->RecommendedVersions = tor_strdup("none");
options->loglevel = LOG_INFO;
- options->PidFile = tor_strdup("tor.pid");
+ options->PidFile = NULL; // tor_strdup("tor.pid");
options->DataDirectory = NULL;
options->PathlenCoinWeight = 0.3;
options->MaxConn = 900;