[flashproxy/master] Break out an if–else.

dcf at torproject.org dcf at torproject.org
Fri Jan 4 05:55:55 UTC 2013


commit 7e77b63cf82acc254ba68800f6d3b91128765b8d
Author: David Fifield <david at bamsoftware.com>
Date:   Thu Jan 3 21:54:29 2013 -0800

    Break out an if–else.
---
 proxy/flashproxy.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index eea124c..26fb5dd 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -489,9 +489,9 @@ function FlashProxy() {
             puts("Error: the \"relay\" parameter requires \"client\" also.")
             this.die();
             return;
-        } else {
-            setTimeout(this.proxy_main.bind(this), this.facilitator_poll_interval * 1000);
         }
+
+        setTimeout(this.proxy_main.bind(this), this.facilitator_poll_interval * 1000);
     };
 
     this.proxy_main = function() {





More information about the tor-commits mailing list