[tor-commits] [tor/master] circuit: Closing reason are signed values

nickm at torproject.org nickm at torproject.org
Tue Sep 26 12:57:20 UTC 2017


commit de54e143123ff37e2e1db09391ca32096b059b67
Author: David Goulet <dgoulet at torproject.org>
Date:   Mon Sep 25 16:01:12 2017 -0400

    circuit: Closing reason are signed values
    
    Part of #23645
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 src/or/circuitlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 9577573ec..7fbf6e448 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -1919,7 +1919,7 @@ circuit_mark_for_close_, (circuit_t *circ, int reason, int line,
   smartlist_add(circuits_pending_close, circ);
 
   log_info(LD_GENERAL, "Circuit %u (id: %" PRIu32 ") marked for close at "
-                       "%s:%d (orig reason: %u, new reason: %u)",
+                       "%s:%d (orig reason: %d, new reason: %d)",
            circ->n_circ_id,
            CIRCUIT_IS_ORIGIN(circ) ?
               TO_ORIGIN_CIRCUIT(circ)->global_identifier : 0,





More information about the tor-commits mailing list