summaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-20 12:03:46 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-20 12:03:46 -0500
commit336c856e52d211aad6b40d29986264f3277a1327 (patch)
treef1b7930199642989c52161a1b5547e3417ede195 /src/or/nodelist.c
parentf15cd22bb7c8f4f7009417e50a827c5bcc656807 (diff)
downloadtor-336c856e52d211aad6b40d29986264f3277a1327.tar.gz
tor-336c856e52d211aad6b40d29986264f3277a1327.zip
Make can_complete_circuits a static variable.
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 53abc820f5..e0e01ec190 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -1562,7 +1562,7 @@ update_router_have_minimum_dir_info(void)
* is back up and usable, and b) disable some activities that Tor
* should only do while circuits are working, like reachability tests
* and fetching bridge descriptors only over circuits. */
- can_complete_circuit = 0;
+ note_that_we_maybe_cant_complete_circuits();
control_event_client_status(LOG_NOTICE, "NOT_ENOUGH_DIR_INFO");
}