aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_new.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-05 13:06:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-05 13:06:35 +0000
commit2850662595ec7d25aaaf9674e987449375960c23 (patch)
tree0aae9489193af891f4d12b17a64f7cb7dc25a798 /src/transport/transport_api_new.c
parentcc0893746713bda2cfc14e29269d643eb9755a9c (diff)
downloadgnunet-2850662595ec7d25aaaf9674e987449375960c23.tar.gz
gnunet-2850662595ec7d25aaaf9674e987449375960c23.zip
fix
Diffstat (limited to 'src/transport/transport_api_new.c')
-rw-r--r--src/transport/transport_api_new.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/transport_api_new.c b/src/transport/transport_api_new.c
index 8136e6fb4..6d508f0f8 100644
--- a/src/transport/transport_api_new.c
+++ b/src/transport/transport_api_new.c
@@ -373,8 +373,9 @@ neighbour_delete (void *cls,
373 struct GNUNET_TRANSPORT_Handle *handle = cls; 373 struct GNUNET_TRANSPORT_Handle *handle = cls;
374 struct Neighbour *n = value; 374 struct Neighbour *n = value;
375 375
376 handle->nd_cb (handle->cls, 376 if (NULL != handle->nd_cb)
377 &n->id); 377 handle->nd_cb (handle->cls,
378 &n->id);
378 GNUNET_assert (NULL == n->th); 379 GNUNET_assert (NULL == n->th);
379 GNUNET_assert (NULL == n->hn); 380 GNUNET_assert (NULL == n->hn);
380 GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, 381 GNUNET_CONTAINER_multihashmap_remove (handle->neighbours,