commit eb229d512b3b1015e28dfcb744000b66a66e648a
Author: Shelikhoo <xiaokangw...@outlook.com>
Date:   Mon Dec 20 16:27:12 2021 +0000

    Fix ProxyEventLogger output
---
 proxy/lib/pt_event_logger.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/lib/pt_event_logger.go b/proxy/lib/pt_event_logger.go
index 6c4f4e9..f6552c8 100644
--- a/proxy/lib/pt_event_logger.go
+++ b/proxy/lib/pt_event_logger.go
@@ -36,7 +36,7 @@ func (p *logEventLogger) OnNewSnowflakeEvent(e 
event.SnowflakeEvent) {
 func (p *logEventLogger) logTick() error {
        inbound, inboundUnit := formatTraffic(p.inboundSum)
        outbound, outboundUnit := formatTraffic(p.inboundSum)
-       fmt.Printf("In the last %v, there are %v connections. Traffic Relaied 
↑ %v %v, ↓ %v %v.\n",
+       fmt.Printf("In the last %v, there are %v connections. Traffic Relayed 
↑ %v %v, ↓ %v %v.\n",
                p.logPeriod.String(), p.connectionCount, inbound, inboundUnit, 
outbound, outboundUnit)
        p.outboundSum = 0
        p.inboundSum = 0



_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to