diff options
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, | |||
2433 | goto cleanup; | 2433 | goto cleanup; |
2434 | 2434 | ||
2435 | papi = GST_plugins_find (address->transport_name); | 2435 | papi = GST_plugins_find (address->transport_name); |
2436 | GNUNET_assert (NULL != papi); | 2436 | if (NULL == papi) { |
2437 | /* This can happen during shutdown. */ | ||
2438 | goto cleanup; | ||
2439 | } | ||
2437 | 2440 | ||
2438 | if (GNUNET_NO == result) | 2441 | if (GNUNET_NO == result) |
2439 | { | 2442 | { |