summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-10-09 21:12:48 +0000
committerRoger Dingledine <arma@torproject.org>2007-10-09 21:12:48 +0000
commit4f23045e58ff5d55adcaf36290cbfe12380f4df9 (patch)
tree02f33114ef9ff3862f23fa6e32fc34116c1e6a9d /src/or/router.c
parenta5851939c0becdeb5ce5b290ab3e4d9baf798168 (diff)
downloadtor-4f23045e58ff5d55adcaf36290cbfe12380f4df9.tar.gz
tor-4f23045e58ff5d55adcaf36290cbfe12380f4df9.zip
back out a little bit of r11817 to preserve current behavior.
some other behavior changes left in. svn:r11821
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 78a158a587..29d44c33ec 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -858,7 +858,7 @@ server_mode(or_options_t *options)
int
dirserver_mode(or_options_t *options)
{
- if (options->ClientOnly) return 0;
+// if (options->ClientOnly) return 0;
return options->DirPort != 0;
}