[tor-commits] [torperf/master] Add a ':' to keep the reasons all part of the 'value' string.

karsten at torproject.org karsten at torproject.org
Wed Mar 16 12:47:17 UTC 2011


commit 847b56cce13794adad2f56bb087fca230dbc7f98
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Fri Mar 4 02:12:05 2011 -0800

    Add a ':' to keep the reasons all part of the 'value' string.
---
 extra_stats.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extra_stats.py b/extra_stats.py
index 1ae0142..69bb8a5 100755
--- a/extra_stats.py
+++ b/extra_stats.py
@@ -121,7 +121,7 @@ class WriteStats(TorCtl.PostEventListener):
       if event.reason:
         circ.stream_fail_reason = event.reason
         if event.remote_reason:
-          circ.stream_fail_reason += " "+event.remote_reason
+          circ.stream_fail_reason += ":"+event.remote_reason
       self.write_circ(circ)
       # We have no explicit assurance here that tor will not
       # try to reuse this circuit later... But we should





More information about the tor-commits mailing list