diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-13 15:02:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-13 15:02:27 +0000 |
commit | b390f74b9652d8188ae82150852d5fc54b2be6ba (patch) | |
tree | 8201844ac73a2e0f6360cd84c8087c9dbb98b46f /src/transport/plugin_transport_unix.c | |
parent | 2751b293778309bfb658d69b5a723aa90abc685a (diff) | |
download | gnunet-b390f74b9652d8188ae82150852d5fc54b2be6ba.tar.gz gnunet-b390f74b9652d8188ae82150852d5fc54b2be6ba.zip |
-check return value
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 17d50a0c5..c2f113b7c 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -260,7 +260,8 @@ get_session_delete_it (void *cls, const GNUNET_HashCode * key, void *value) | |||
260 | 260 | ||
261 | plugin->env->session_end (plugin->env->cls, &s->target, s); | 261 | plugin->env->session_end (plugin->env->cls, &s->target, s); |
262 | 262 | ||
263 | GNUNET_CONTAINER_multihashmap_remove(plugin->session_map, &s->target.hashPubKey, s); | 263 | GNUNET_assert (GNUNET_YES == |
264 | GNUNET_CONTAINER_multihashmap_remove(plugin->session_map, &s->target.hashPubKey, s)); | ||
264 | 265 | ||
265 | GNUNET_free (s); | 266 | GNUNET_free (s); |
266 | 267 | ||