aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-19 18:37:03 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-19 18:37:03 -0500
commit7bb51fdd89feb5ea3eb7e0a0b76c0dda0e50a82e (patch)
tree2ea2b353bd2d30d965acfeeab219b6f84ec65a5e /src/or/main.c
parent62fb209d837f3f5510075ef8bdb6e231ebdfa9bc (diff)
downloadtor-7bb51fdd89feb5ea3eb7e0a0b76c0dda0e50a82e.tar.gz
tor-7bb51fdd89feb5ea3eb7e0a0b76c0dda0e50a82e.zip
Rename circuit_expire_all_dirty_circs
The new name is circuit_mark_all_dirty_circs_as_unusable. This resolves an XXX024
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b5d1e2da34..5add6a0552 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1129,7 +1129,7 @@ signewnym_impl(time_t now)
return;
}
- circuit_expire_all_dirty_circs();
+ circuit_mark_all_dirty_circs_as_unusable();
addressmap_clear_transient();
rend_client_purge_state();
time_of_last_signewnym = now;
@@ -1848,7 +1848,7 @@ do_hup(void)
/* Rotate away from the old dirty circuits. This has to be done
* after we've read the new options, but before we start using
* circuits for directory fetches. */
- circuit_expire_all_dirty_circs();
+ circuit_mark_all_dirty_circs_as_unusable();
/* retry appropriate downloads */
router_reset_status_download_failures();