aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-01 04:58:53 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-01 04:58:53 +0000
commitf8df8d791e4a58ab65d8903a0522b4cfa55cc163 (patch)
tree1fbc2c52fb8d95a0c638da65792609c50d253e5a /src/or/router.c
parent6d49465b691046efb0ffa2c7e89898cdd35ee192 (diff)
downloadtor-f8df8d791e4a58ab65d8903a0522b4cfa55cc163.tar
tor-f8df8d791e4a58ab65d8903a0522b4cfa55cc163.tar.gz
start to refactor dirserver_mode()
svn:r12621
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 2cf762f65..e9cc3901e 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -884,14 +884,6 @@ server_mode(or_options_t *options)
return (options->ORPort != 0 || options->ORListenAddress);
}
-/** Return true iff we are trying to be a directory server */
-int
-dirserver_mode(or_options_t *options)
-{
-// if (options->ClientOnly) return 0;
- return options->DirPort != 0;
-}
-
/** Remember if we've advertised ourselves to the dirservers. */
static int server_is_advertised=0;