diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-05-15 12:34:12 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-15 17:21:55 -0400 |
commit | fade313ba30279b76794368b4ff9e97be6bb159d (patch) | |
tree | d212b2aa25d200627f7c2eb746d71815a6d93ce8 /src | |
parent | ae33deb91d204da0689f182a0899f9f11a5bb77a (diff) | |
download | tor-fade313ba30279b76794368b4ff9e97be6bb159d.tar.gz tor-fade313ba30279b76794368b4ff9e97be6bb159d.zip |
Fix too wide line from `make check-spaces`.
See: https://bugs.torproject.org/21667
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 8ed1305b06..dbee0b3fc0 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -3618,12 +3618,12 @@ handle_get_frontpage(dir_connection_t *conn, const get_handler_args_t *args) return 0; } -/** Warn that the cached consensus <b>cached_consensus</b> of type +/** Warn that the cached consensus <b>consensus</b> of type * <b>flavor</b> is too old and will not be served to clients. Rate-limit the * warning to avoid logging an entry on every request. */ static void -warn_consensus_is_too_old(const struct consensus_cache_entry_t *cached_consensus, +warn_consensus_is_too_old(const struct consensus_cache_entry_t *consensus, const char *flavor, time_t now) { #define TOO_OLD_WARNING_INTERVAL (60*60) @@ -3632,7 +3632,7 @@ warn_consensus_is_too_old(const struct consensus_cache_entry_t *cached_consensus time_t valid_until; char *dupes; - if (consensus_cache_entry_get_valid_until(cached_consensus, &valid_until)) + if (consensus_cache_entry_get_valid_until(consensus, &valid_until)) return; if ((dupes = rate_limit_log(&warned, now))) { |