diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-03-16 17:54:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-03-16 17:54:48 -0400 |
commit | 27d1675d93a07227aae3bb1d86bd4876d6c3ac77 (patch) | |
tree | 62a99c779fb8ee712a23cd9c35690d2170862598 /src/or/relay.c | |
parent | cf399f1034cec6be2b7a98cb82a8607634e120f6 (diff) | |
download | tor-27d1675d93a07227aae3bb1d86bd4876d6c3ac77.tar.gz tor-27d1675d93a07227aae3bb1d86bd4876d6c3ac77.zip |
Move the decl for tor_gettimofday_cache_clear to the right header
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 2510242256..076b46b934 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -52,9 +52,9 @@ static int circuit_consider_stop_edge_reading(circuit_t *circ, crypt_path_t *layer_hint); static int circuit_queue_streams_are_blocked(circuit_t *circ); +/* XXXX023 move this all to compat_libevent */ /** Cache the current hi-res time; the cache gets reset when libevent * calls us. */ - static struct timeval cached_time_hires = {0, 0}; /** Stop reading on edge connections when we have this many cells @@ -76,7 +76,7 @@ tor_gettimeofday_cached(struct timeval *tv) void tor_gettimeofday_cache_clear(void) { - cached_time_hires.tv_sec = 0; + cached_time_hires.tv_sec = 0; } /** Stats: how many relay cells have originated at this hop, or have |