From a763617a689bf6096c044e2eab17ffaa44b1ab4a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 19 Jul 2010 13:08:54 +0000 Subject: [PATCH] bad check --- src/core/gnunet-service-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index 0770fb78a..df3342ce0 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c @@ -1318,10 +1318,9 @@ consider_free_neighbour (struct Neighbour *n) if ( (n->th != NULL) || (n->pitr != NULL) || - (n->status == PEER_STATE_KEY_CONFIRMED) || (GNUNET_YES == n->is_connected) ) return; /* no chance */ - + left = GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_add (n->last_activity, GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT)); if (left.value > 0) -- 2.25.1