diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-18 06:47:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-18 06:47:01 +0000 |
commit | 807a484b882bfd08b2b6996d6346009c8f108a16 (patch) | |
tree | 90b064e783d35b48ebfd64a07107dfd923dc8979 /src/or/circuituse.c | |
parent | 6e9e467b1d68dbaf22ebc117254d41f84efd97a1 (diff) | |
download | tor-807a484b882bfd08b2b6996d6346009c8f108a16.tar.gz tor-807a484b882bfd08b2b6996d6346009c8f108a16.zip |
only establish intro points after we've gotten a directory
svn:r2276
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index e81005fd87..993ef2b18a 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -292,7 +292,8 @@ void circuit_build_needed_circs(time_t now) { connection_ap_attach_pending(); /* make sure any hidden services have enough intro points */ - rend_services_introduce(); + if(has_fetched_directory) + rend_services_introduce(); circ = circuit_get_youngest_clean_open(CIRCUIT_PURPOSE_C_GENERAL); |