diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-07-18 21:47:04 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-07-18 21:47:04 +0000 |
commit | 54c129d8dcbf27ec8f5117b46401a414fafe3b2e (patch) | |
tree | 65afe268dae997ef37b63729a68b91bea8aa1e60 /src/or/circuituse.c | |
parent | 87d0948903a8ce0802d4b94f98601ededdebd808 (diff) | |
download | tor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.tar tor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.tar.gz |
abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments.
svn:r2054
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index d6422d0b5..9627b271b 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -299,7 +299,7 @@ void circuit_build_needed_circs(time_t now) { if(time_to_new_circuit < now) { circuit_reset_failure_count(); time_to_new_circuit = now + options.NewCircuitPeriod; - if(options.SocksPort) + if(proxy_mode()) client_dns_clean(); circuit_expire_old_circuits(); |