[tor-commits] [flashproxy/master] Fixed local parameter code bug

dcf at torproject.org dcf at torproject.org
Tue Jul 12 00:35:43 UTC 2011


commit 844dab6eef0a03e27cc166336575ec98215b3575
Author: Jonathan Ellithorpe <jdellit at stanford.edu>
Date:   Mon Jul 11 17:33:18 2011 -0700

    Fixed local parameter code bug
---
 swfcat.as |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/swfcat.as b/swfcat.as
index 76c3829..14c2d8c 100644
--- a/swfcat.as
+++ b/swfcat.as
@@ -108,10 +108,8 @@ package
 
             if (this.loaderInfo.parameters["local"])
                 local_addr = get_param_addr("local", DEFAULT_LOCAL_TOR_CLIENT_ADDR);
-            else {
-                local_addr.host = DEFAULT_LOCAL_TOR_CLIENT_ADDR.host;
-                local_addr.port = DEFAULT_LOCAL_TOR_CLIENT_ADDR.port;   
-            }
+            else
+                local_addr = DEFAULT_LOCAL_TOR_CLIENT_ADDR;
 
             if (this.loaderInfo.parameters["client"])
                 client_main();



More information about the tor-commits mailing list