diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-18 11:19:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-22 15:55:09 -0400 |
commit | 2d7b5c6fe5dc46b7e7cd040e6723e25d12015985 (patch) | |
tree | db395133c56e01ab76582757bbccd28b5a8e0265 /src/or/confparse.h | |
parent | 9aaed729c188a1f560d025388374c7dc1135478e (diff) | |
download | tor-2d7b5c6fe5dc46b7e7cd040e6723e25d12015985.tar.gz tor-2d7b5c6fe5dc46b7e7cd040e6723e25d12015985.zip |
Change the type of "download schedule" from smartlist to int.
This is done as follows:
* Only one function (find_dl_schedule()) actually returned a
smartlist. Now it returns an int.
* The CSV_INTERVAL type has been altered to ignore everything
after the first comma, and to store the value before the first
comma in an int.
Diffstat (limited to 'src/or/confparse.h')
-rw-r--r-- | src/or/confparse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/confparse.h b/src/or/confparse.h index f1f2030343..64ea65d1b9 100644 --- a/src/or/confparse.h +++ b/src/or/confparse.h @@ -62,7 +62,7 @@ typedef union { int *AUTOBOOL; time_t *ISOTIME; smartlist_t **CSV; - smartlist_t **CSV_INTERVAL; + int *CSV_INTERVAL; config_line_t **LINELIST; config_line_t **LINELIST_S; config_line_t **LINELIST_V; |