[tor-commits] [flashproxy/master] fix VERBOSE flag test in flashproxy-test

infinity0 at torproject.org infinity0 at torproject.org
Fri Jan 17 22:48:45 UTC 2014


commit 0ab9f052b6aaa30506c1f7db6c6718bdef8dcd62
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Fri Jan 17 22:43:51 2014 +0000

    fix VERBOSE flag test in flashproxy-test
---
 proxy/flashproxy-test.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/flashproxy-test.js b/proxy/flashproxy-test.js
index dabbb8b..a46ca2d 100755
--- a/proxy/flashproxy-test.js
+++ b/proxy/flashproxy-test.js
@@ -4,7 +4,7 @@
    (apt-get install rhino). */
 
 var VERBOSE = false;
-if ("-v" in arguments)
+if (arguments.indexOf("-v") >= 0)
     VERBOSE = true;
 
 var num_tests = 0;



More information about the tor-commits mailing list