aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-18 06:42:13 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-18 06:42:13 +0000
commit8d86f8abf59cf758f38a59d589ff662e15020b4f (patch)
tree50de95a666648ae9114e76d2775998670691d57a /src/or/main.c
parent7a7baf0552c39414426240c01f02b6dd7dde1326 (diff)
downloadtor-8d86f8abf59cf758f38a59d589ff662e15020b4f.tar
tor-8d86f8abf59cf758f38a59d589ff662e15020b4f.tar.gz
reverse the logic, captain
svn:r1664
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 5276f0862..c6770aa85 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -307,7 +307,7 @@ static void run_connection_housekeeping(int i, time_t now) {
connection_t *conn = connection_array[i];
if(conn->type == CONN_TYPE_DIR &&
- conn->timestamp_created + 5*60 > now) {
+ conn->timestamp_created + 5*60 < now) {
log_fn(LOG_INFO,"Expiring wedged directory conn (purpose %d)", conn->purpose);
connection_mark_for_close(conn,0);
return;