[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/rtmfp] Fix a global search-and-replace error.
commit 53fcd931929eba516e39aea4b17cc524b0fa8c78
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Thu Jun 9 07:15:17 2011 -0700
Fix a global search-and-replace error.
RATE_LIMIT_HISrelayY -> RATE_LIMIT_HISTORY
---
ProxyPair.as | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ProxyPair.as b/ProxyPair.as
index aef4e2e..75ae901 100644
--- a/ProxyPair.as
+++ b/ProxyPair.as
@@ -32,7 +32,7 @@ package
// Bytes per second. Set to undefined to disable limit.
private const RATE_LIMIT:Number = undefined; //10000;
// Seconds.
- private const RATE_LIMIT_HISrelayY:Number = 5.0;
+ private const RATE_LIMIT_HISTORY:Number = 5.0;
private var rate_limit:RateLimit;
@@ -51,7 +51,7 @@ package
this.r2c_schedule = new Array();
if (RATE_LIMIT)
- rate_limit = new BucketRateLimit(RATE_LIMIT * RATE_LIMIT_HISrelayY, RATE_LIMIT_HISrelayY);
+ rate_limit = new BucketRateLimit(RATE_LIMIT * RATE_LIMIT_HISTORY, RATE_LIMIT_HISTORY);
else
rate_limit = new RateUnlimit();
@@ -270,4 +270,4 @@ class BucketRateLimit extends RateLimit
age();
return amount > capacity;
}
-}
\ No newline at end of file
+}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits