aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2014-08-20 22:07:08 +0300
committerNick Mathewson <nickm@torproject.org>2014-08-20 15:29:56 -0400
commit8b539cc27684534a6a71cef92f9a6782040f6ca9 (patch)
tree8fe796bf3fb6d9fa878e8622fc29b4315659a9af /src/or/entrynodes.c
parentc731a1c68f47812f0bc536a8fab548c3c734ce28 (diff)
downloadtor-8b539cc27684534a6a71cef92f9a6782040f6ca9.tar.gz
tor-8b539cc27684534a6a71cef92f9a6782040f6ca9.zip
Unit testing entry_is_time_to_retry().
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index ee4f447ee8..edf766bb87 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -156,7 +156,7 @@ entry_guard_set_status(entry_guard_t *e, const node_t *node,
/** Return true iff enough time has passed since we last tried to connect
* to the unreachable guard <b>e</b> that we're willing to try again. */
-static int
+STATIC int
entry_is_time_to_retry(const entry_guard_t *e, time_t now)
{
struct guard_retry_period_s {