[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/rtmfp] Make proxy mode the default in swfcat.



commit f0e063240a4c3d673256d82f42fbecd4e35ba1e5
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Jun 12 01:21:59 2011 -0700

    Make proxy mode the default in swfcat.
    
    In other words, use client=true instead of nothing for client mode, and
    nothing instead of proxy=true for proxy mode. This makes it a drop-in
    replacement for master swfcat.
---
 swfcat.as |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/swfcat.as b/swfcat.as
index 1d99ad4..27752e9 100644
--- a/swfcat.as
+++ b/swfcat.as
@@ -107,10 +107,10 @@ package
                 return;
             }
 
-            if (this.loaderInfo.parameter["proxy"])
-                proxy_main();
-            else
+            if (this.loaderInfo.parameters["client"])
                 client_main();
+            else
+                proxy_main();
         }
 
         /* Get an address structure from the given movie parameter, or the given



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits