summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2017-12-19 19:20:25 -0600
committerDavid Barksdale <amatus@amat.us>2017-12-19 19:20:25 -0600
commit311658e2bab990bbdb68607295e5a79fe082b384 (patch)
tree5bf2e3e163ed9facc0a8235a48be57c2945d9ec9 /src/transport/gnunet-service-transport_neighbours.c
parentc83cd1bec9663f0eba30726d7d86b93a11f66930 (diff)
Another assert which is actually OK
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c5
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,
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)
{