From 463fcbc22b805a862e1d136fe541fc849dc393f0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 4 May 2012 11:44:32 +0000 Subject: [PATCH] -cleaner --- src/transport/gnunet-service-transport_neighbours.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 2b8a92415..ea59961bc 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -1343,8 +1343,7 @@ send_switch_address_continuation (void *cls, { GST_validation_set_address_use (cc->address, cc->session, GNUNET_YES, __LINE__); GNUNET_ATS_address_update (GST_ats, cc->address, cc->session, NULL, 0); - if (cc->session != n->session) - GNUNET_break (0); + GNUNET_break (cc->session == n->session); GNUNET_ATS_address_in_use (GST_ats, cc->address, cc->session, GNUNET_YES); n->address_state = USED; } -- 2.25.1