diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:21:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:21:27 +0000 |
commit | cc60e5a70c8ed39ab9e6189eb1db8027f37db900 (patch) | |
tree | 3b9e8542f008614ff6daa7e6d24ed5c31a465274 /src/transport/transport_api_new.c | |
parent | 95f059ea4b268b48aed6182056a256228bd81dd2 (diff) | |
download | gnunet-cc60e5a70c8ed39ab9e6189eb1db8027f37db900.tar.gz gnunet-cc60e5a70c8ed39ab9e6189eb1db8027f37db900.zip |
assert
Diffstat (limited to 'src/transport/transport_api_new.c')
-rw-r--r-- | src/transport/transport_api_new.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/transport_api_new.c b/src/transport/transport_api_new.c index 70ca3119a..4583cf876 100644 --- a/src/transport/transport_api_new.c +++ b/src/transport/transport_api_new.c | |||
@@ -379,9 +379,10 @@ neighbour_delete (void *cls, | |||
379 | &n->id); | 379 | &n->id); |
380 | GNUNET_assert (NULL == n->th); | 380 | GNUNET_assert (NULL == n->th); |
381 | GNUNET_assert (NULL == n->hn); | 381 | GNUNET_assert (NULL == n->hn); |
382 | GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, | 382 | GNUNET_assert (GNUNET_YES == |
383 | key, | 383 | GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, |
384 | n); | 384 | key, |
385 | n)); | ||
385 | GNUNET_free (n); | 386 | GNUNET_free (n); |
386 | return GNUNET_YES; | 387 | return GNUNET_YES; |
387 | } | 388 | } |