summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-20 09:59:48 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-20 09:59:48 -0400
commit78cbced45cd244c8aab84e6fb8087b852769f5bc (patch)
tree6c3e86442d934554f4a99e8ae4d87671eaf10175 /src/or/connection_edge.c
parent35746a9ee75608e7b2393e4519adca602bf2615f (diff)
downloadtor-78cbced45cd244c8aab84e6fb8087b852769f5bc.tar.gz
tor-78cbced45cd244c8aab84e6fb8087b852769f5bc.zip
Rename "tell_event_loop_to_finish" to "...run_external_code"
This function was never about 'finishing' the event loop, but rather about making sure that the code outside the event loop would be run at least once.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 77dac62b09..7d6667dbc9 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -999,7 +999,7 @@ connection_ap_mark_as_pending_circuit_(entry_connection_t *entry_conn,
* So the fix is to tell it right now that it ought to finish its loop at
* its next available opportunity.
*/
- tell_event_loop_to_finish();
+ tell_event_loop_to_run_external_code();
}
/** Mark <b>entry_conn</b> as no longer waiting for a circuit. */