[tor-commits] [flashproxy/master] Remove unused get_param_timespec.
dcf at torproject.org
dcf at torproject.org
Wed Dec 21 10:26:04 UTC 2016
commit 0c5ea1b04c4725fccc5a98a25bede5c419e07fcd
Author: David Fifield <david at bamsoftware.com>
Date: Wed Dec 21 02:19:50 2016 -0800
Remove unused get_param_timespec.
---
proxy/flashproxy.js | 7 -------
1 file changed, 7 deletions(-)
diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index 0194309..69275d5 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -302,13 +302,6 @@ function get_param_number(query, param, default_val) {
}
}
-/* Get a floating-point number of seconds from a time specification. The only
- time specification format is a decimal number of seconds. Returns null on
- error. */
-function get_param_timespec(query, param, default_val) {
- return get_param_number(query, param, default_val);
-}
-
/* Parse a count of bytes. A suffix of "k", "m", or "g" (or uppercase)
does what you would think. Returns null on error. */
function parse_byte_count(spec) {
More information about the tor-commits
mailing list