diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-03 14:06:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-05 09:24:45 -0500 |
commit | a2f81b644b2a4679c634744d3830cdb6397f0814 (patch) | |
tree | 3242f87650d1a34d6ae0fe6cce32bee94b22dcdc /src/feature/relay/router.c | |
parent | 31a6d9f49997cfb1266a55b742a15706ae16db5e (diff) | |
download | tor-a2f81b644b2a4679c634744d3830cdb6397f0814.tar.gz tor-a2f81b644b2a4679c634744d3830cdb6397f0814.zip |
Write tests for mark_my_descriptor_dirty_if_too_old()
Diffstat (limited to 'src/feature/relay/router.c')
-rw-r--r-- | src/feature/relay/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c index 2d4ab9b0a0..ef433db8bc 100644 --- a/src/feature/relay/router.c +++ b/src/feature/relay/router.c @@ -1471,9 +1471,9 @@ static extrainfo_t *desc_extrainfo = NULL; static const char *desc_gen_reason = "uninitialized reason"; /** Since when has our descriptor been "clean"? 0 if we need to regenerate it * now. */ -static time_t desc_clean_since = 0; +STATIC time_t desc_clean_since = 0; /** Why did we mark the descriptor dirty? */ -static const char *desc_dirty_reason = "Tor just started"; +STATIC const char *desc_dirty_reason = "Tor just started"; /** Boolean: do we need to regenerate the above? */ static int desc_needs_upload = 0; |