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 | |
parent | 95f059ea4b268b48aed6182056a256228bd81dd2 (diff) |
assert
-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 70ca3119a3..4583cf8760 100644 --- a/src/transport/transport_api_new.c +++ b/src/transport/transport_api_new.c @@ -379,9 +379,10 @@ neighbour_delete (void *cls, &n->id); GNUNET_assert (NULL == n->th); GNUNET_assert (NULL == n->hn); - GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, - key, - n); + GNUNET_assert (GNUNET_YES == + GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, + key, + n)); GNUNET_free (n); return GNUNET_YES; } |