summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-10-15 11:16:42 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-15 11:16:42 -0400
commita5289fa79442896b87c2f5dd59eed4289f99c5e4 (patch)
treea1d2df8fea4fee5e35e28cfe04c39fc17177a42f /src/or/networkstatus.c
parentadc4f678f17096a1d2a2c693c3364f065a708d6f (diff)
downloadtor-a5289fa79442896b87c2f5dd59eed4289f99c5e4.tar.gz
tor-a5289fa79442896b87c2f5dd59eed4289f99c5e4.zip
Remove the unused old fuzzy-time code
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 2a3fb839f2..2361faabf2 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1800,7 +1800,7 @@ networkstatus_set_current_consensus(const char *consensus,
write_str_to_file(consensus_fname, consensus, 0);
}
- if (ftime_definitely_before(now, c->valid_after)) {
+ if (time_definitely_before(now, c->valid_after, 60)) {
char tbuf[ISO_TIME_LEN+1];
char dbuf[64];
long delta = now - c->valid_after;