]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
reverse the logic, captain
authorRoger Dingledine <arma@torproject.org>
Sun, 18 Apr 2004 06:42:13 +0000 (06:42 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 18 Apr 2004 06:42:13 +0000 (06:42 +0000)
svn:r1664

src/or/main.c

index 5276f0862439a1c1c872ab20ff84edde99baced0..c6770aa85330825a77cc84f43f6c9ebd6ec6db40 100644 (file)
@@ -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;