aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/gnunet-service-core.c3
1 files changed, 1 insertions, 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)
1318 1318
1319 if ( (n->th != NULL) || 1319 if ( (n->th != NULL) ||
1320 (n->pitr != NULL) || 1320 (n->pitr != NULL) ||
1321 (n->status == PEER_STATE_KEY_CONFIRMED) ||
1322 (GNUNET_YES == n->is_connected) ) 1321 (GNUNET_YES == n->is_connected) )
1323 return; /* no chance */ 1322 return; /* no chance */
1324 1323
1325 left = GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_add (n->last_activity, 1324 left = GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_add (n->last_activity,
1326 GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT)); 1325 GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT));
1327 if (left.value > 0) 1326 if (left.value > 0)