}
GNUNET_free_non_null(pos->ressources);
GNUNET_free_non_null(pos->quality);
+ if (ats != NULL)
+ ats->stat.recreate_problem = GNUNET_YES;
if (GNUNET_YES != pos->connected)
{
/* nothing else to do, connection was never up... */
return;
}
GNUNET_free (pos);
- if (ats != NULL)
- ats->stat.recreate_problem = GNUNET_YES;
+
if (nl->received_pong == GNUNET_NO)
{
GNUNET_STATISTICS_update (stats,
if (GNUNET_YES == n->received_pong)
notify_clients_disconnect (&n->id);
+ if (ats != NULL)
+ ats->stat.recreate_problem = GNUNET_YES;
+
/* clean up all plugins, cancel connections and pending transmissions */
while (NULL != (rpos = n->plugins))
{
GNUNET_free(peer_pos->quality);
peer_pos->ressources = NULL;
GNUNET_free(peer_pos);
- if (ats != NULL)
- ats->stat.recreate_problem = GNUNET_YES;
}
GNUNET_free (rpos);
}