diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-03 19:49:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-03 19:49:42 +0000 |
commit | 7cb3232ade9c55d26a64bddbd12a92a2a32180cd (patch) | |
tree | 97a779a7a4d360f8b06f1d255cd75fa676339820 /src/or/rephist.c | |
parent | 86da3e0a0af5813d6f5eb695d8353b2988f256ff (diff) | |
download | tor-7cb3232ade9c55d26a64bddbd12a92a2a32180cd.tar.gz tor-7cb3232ade9c55d26a64bddbd12a92a2a32180cd.zip |
Add async dns code from Adam Langley, tweaked to build on OSX. Long-term, we may want to switch to libevnet/c-ares, if they ever handle 10k fd situations properly. This one still needs work too, but at least it is small. This code is disabled by default, and not integrated with dns.c.
svn:r6524
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 00e40216c8..b4a05ea710 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -924,7 +924,7 @@ rep_hist_circbuilding_dormant(void) return 0; /* see if we'll still need to build testing circuits */ - if (server_mode(options) && !check_whether_orport_reachable()) + if (server_mode(get_options()) && !check_whether_orport_reachable()) return 0; if (!check_whether_dirport_reachable()) return 0; |