summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-05-23 07:05:58 +0000
committerRoger Dingledine <arma@torproject.org>2006-05-23 07:05:58 +0000
commitdeb6c5852976b9e48b5a17f1772090a330428987 (patch)
treefa6caa0e54081aaf6e4235b74253cb361b190612 /src
parentfd11288bf303e1331cd14e885cbb603e9ec272fb (diff)
downloadtor-deb6c5852976b9e48b5a17f1772090a330428987.tar.gz
tor-deb6c5852976b9e48b5a17f1772090a330428987.zip
and backport that part as well.
svn:r6472
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 01d5b8646e..feb7c44d3c 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2955,7 +2955,12 @@ options_init_logs(or_options_t *options, int validate_only)
config_line_t *opt;
int ok;
smartlist_t *elts;
- int daemon = options->RunAsDaemon;
+ int daemon =
+#ifdef MS_WINDOWS
+ 0;
+#else
+ options->RunAsDaemon;
+#endif
ok = 1;
elts = smartlist_create();