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

17 Jan
2014
17 Jan
'14
10:48 p.m.
commit 0ab9f052b6aaa30506c1f7db6c6718bdef8dcd62 Author: Ximin Luo <infinity0@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;
4178
Age (days ago)
4178
Last active (days ago)
0 comments
1 participants
participants (1)
-
infinity0@torproject.org