From da7f0315e64038b00845d947d857d5b6cd279d7e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 19 Feb 2008 21:41:43 +0000 Subject: [PATCH] maybe it should compile too. svn:r13585 --- ChangeLog | 2 +- src/or/directory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cdbef27249..fb31153f04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,7 +10,7 @@ Changes in version 0.2.0.20-?? - 2008-02-?? and 0.2.0.19-alpha. - If we only ever used Tor for hidden service lookups or posts, we would stop building circuits and start refusing connections after - 24 hours, since we false believed that Tor was dormant. Reported + 24 hours, since we falsely believed that Tor was dormant. Reported by nwf; bugfix on 0.1.2.x. o Minor features (performance): diff --git a/src/or/directory.c b/src/or/directory.c index f1c0e02ec2..818c684e84 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -692,7 +692,7 @@ directory_initiate_command(const char *address, uint32_t addr, /* If it's an anonymized connection, remember the fact that we * wanted it for later: maybe we'll want it again soon. */ if (anonymized_connection && use_begindir) - rep_hist_note_used_internal(now, 0, 1); + rep_hist_note_used_internal(time(NULL), 0, 1); else if (anonymized_connection && !use_begindir) rep_hist_note_used_port(time(NULL), conn->_base.port);