summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-18 21:47:04 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-18 21:47:04 +0000
commit54c129d8dcbf27ec8f5117b46401a414fafe3b2e (patch)
tree65afe268dae997ef37b63729a68b91bea8aa1e60 /src/or/connection.c
parent87d0948903a8ce0802d4b94f98601ededdebd808 (diff)
downloadtor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.tar.gz
tor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.zip
abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments.
svn:r2054
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 0beb36a3dd..4b06f73694 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -545,7 +545,7 @@ static int retry_listeners(int type, struct config_line_t *cfg,
* - Relaunch listeners for each port you have open.
*/
int retry_all_connections(void) {
- if(options.ORPort) {
+ if(clique_mode()) {
router_retry_connections();
}