[tor-commits] [flashproxy/rtmfp] Make proxy mode the default in swfcat.
dcf at torproject.org
dcf at torproject.org
Sun Jun 12 08:56:33 UTC 2011
commit f0e063240a4c3d673256d82f42fbecd4e35ba1e5
Author: David Fifield <david at bamsoftware.com>
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
More information about the tor-commits
mailing list