[tor-commits] [snowflake/master] lint proxypair

serene at torproject.org serene at torproject.org
Wed May 18 20:21:09 UTC 2016


commit 361da32ecb87f6b66d96c200b4edd49828902f41
Author: Serene Han <keroserene+git at gmail.com>
Date:   Thu May 12 11:50:54 2016 -0700

    lint proxypair
---
 proxy/proxypair.coffee | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/proxypair.coffee b/proxy/proxypair.coffee
index 6471f3a..e6ab563 100644
--- a/proxy/proxypair.coffee
+++ b/proxy/proxypair.coffee
@@ -92,8 +92,8 @@ class ProxyPair
     @relay.label = 'websocket-relay'
     @relay.onopen = =>
       if @timer
-          clearTimeout @timer
-          @timer = 0
+        clearTimeout @timer
+        @timer = 0
       log @relay.label + ' connected!'
       snowflake.ui.setStatus 'connected'
     @relay.onclose = =>





More information about the tor-commits mailing list