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

[tor-commits] [flashproxy/master] Remove unused get_param_timespec.



commit 0c5ea1b04c4725fccc5a98a25bede5c419e07fcd
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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) {

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