summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2014-06-25 15:39:00 -0400
committerGeorge Kadianakis <desnacked@riseup.net>2014-06-25 15:39:00 -0400
commit46d41e6e9b4208b1a951f2d7f14da92606b82195 (patch)
treeca14b617f56b88ac3ce7be725c98e6fd057898a8 /src/or/entrynodes.c
parenta8fcdbf4a0fcea3c97431f0c2bcc5a7774764ed4 (diff)
downloadtor-46d41e6e9b4208b1a951f2d7f14da92606b82195.tar.gz
tor-46d41e6e9b4208b1a951f2d7f14da92606b82195.zip
Basic entry_is_live() unittest.
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 3dcb8f70be..d025a549ba 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -190,7 +190,7 @@ entry_is_time_to_retry(const entry_guard_t *e, time_t now)
* If need_descriptor is true, only return the node if we currently have
* a descriptor (routerinfo or microdesc) for it.
*/
-static INLINE const node_t *
+STATIC INLINE const node_t *
entry_is_live(const entry_guard_t *e, int need_uptime, int need_capacity,
int assume_reachable, int need_descriptor, const char **msg)
{