[tor-commits] [tor/master] Rename circuit_about_to_free_{terminal -> atexit}
nickm at torproject.org
nickm at torproject.org
Thu Feb 11 17:15:20 UTC 2016
commit cae59b913f7daa154c6b1eb9083d1f582c8d2a1e
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Feb 11 12:15:12 2016 -0500
Rename circuit_about_to_free_{terminal -> atexit}
---
src/or/circuitlist.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 9b7df75..ade371d 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -53,7 +53,7 @@ static void cpath_ref_decref(crypt_path_reference_t *cpath_ref);
//static void circuit_set_rend_token(or_circuit_t *circ, int is_rend_circ,
// const uint8_t *token);
static void circuit_clear_rend_token(or_circuit_t *circ);
-static void circuit_about_to_free_terminal(circuit_t *circ);
+static void circuit_about_to_free_atexit(circuit_t *circ);
static void circuit_about_to_free(circuit_t *circ);
/********* END VARIABLES ************/
@@ -902,7 +902,7 @@ circuit_free_all(void)
}
}
tmp->global_circuitlist_idx = -1;
- circuit_about_to_free_terminal(tmp);
+ circuit_about_to_free_atexit(tmp);
circuit_free(tmp);
SMARTLIST_DEL_CURRENT(lst, tmp);
} SMARTLIST_FOREACH_END(tmp);
@@ -1752,7 +1752,7 @@ circuit_mark_for_close_, (circuit_t *circ, int reason, int line,
* do circuitmux_detach_circuit() when appropriate.
*/
static void
-circuit_about_to_free_terminal(circuit_t *circ)
+circuit_about_to_free_atexit(circuit_t *circ)
{
if (circ->n_chan) {
More information about the tor-commits
mailing list