[tor-commits] [flashproxy/master] Remove superfluous undefined default value.

dcf at torproject.org dcf at torproject.org
Sat Mar 2 09:22:14 UTC 2013


commit a505a975c5a2704794770dcb092e26889f54afd9
Author: David Fifield <david at bamsoftware.com>
Date:   Sat Mar 2 00:52:40 2013 -0800

    Remove superfluous undefined default value.
---
 proxy/flashproxy.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index 6aaa211..6cb7b48 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -461,7 +461,7 @@ function FlashProxy() {
             return;
         }
 
-        this.facilitator_poll_interval = get_param_timespec(query, "facilitator_poll_interval", undefined);
+        this.facilitator_poll_interval = get_param_timespec(query, "facilitator_poll_interval");
         if (this.facilitator_poll_interval !== undefined && (this.facilitator_poll_interval === null || this.facilitator_poll_interval < MIN_FACILITATOR_POLL_INTERVAL)) {
             puts("Error: facilitator_poll_interval must be a nonnegative number at least " + MIN_FACILITATOR_POLL_INTERVAL + ".");
             this.die();





More information about the tor-commits mailing list