From: David Barksdale Date: Wed, 20 Dec 2017 01:20:25 +0000 (-0600) Subject: Another assert which is actually OK X-Git-Tag: gnunet-0.11.0rc0~89 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=311658e2bab990bbdb68607295e5a79fe082b384;p=oweals%2Fgnunet.git Another assert which is actually OK --- diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 19f5fd081..ac72a667c 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -2433,7 +2433,10 @@ switch_address_bl_check_cont (void *cls, goto cleanup; papi = GST_plugins_find (address->transport_name); - GNUNET_assert (NULL != papi); + if (NULL == papi) { + /* This can happen during shutdown. */ + goto cleanup; + } if (GNUNET_NO == result) {