diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-06-13 12:44:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-06-13 12:44:46 -0400 |
commit | 73ca1cf8b7502909108d5359b77c1c527aa3d272 (patch) | |
tree | b42b0fb741bf37ced2fcda5bc37e7dde02b4f577 /src | |
parent | 45424b2ca1638d5b3d147bb518c092a41028e259 (diff) | |
download | tor-73ca1cf8b7502909108d5359b77c1c527aa3d272.tar tor-73ca1cf8b7502909108d5359b77c1c527aa3d272.tar.gz |
Rename networkstatus_dl_interval() -> networkstatus_dl_check_interval()
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index b2ff62879..8e2845f47 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1450,10 +1450,11 @@ run_scheduled_events(time_t now) /* How often do we check whether we should download network status * documents? */ -#define networkstatus_dl_interval(o) ((o)->TestingTorNetwork ? 1 : 60) +#define networkstatus_dl_check_interval(o) ((o)->TestingTorNetwork ? 1 : 60) if (time_to_download_networkstatus < now && !options->DisableNetwork) { - time_to_download_networkstatus = now + networkstatus_dl_interval(options); + time_to_download_networkstatus = + now + networkstatus_dl_check_interval(options); update_networkstatus_downloads(now); } |