summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-06-25 11:07:40 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-06-25 11:07:40 +0000
commitabbba0500a7116ebaa5401d3997ccbbc79dc94ff (patch)
tree1e3d953e9c9f27f4dd04c2644ecda0113a34dc88 /src/transport/gnunet-service-transport_manipulation.c
parent4fd760593d819afed8b4fe13362e8340c448c461 (diff)
workaround for coverty 10451: Unchecked return value
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.c')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index e35672252..ac7739930 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -625,7 +625,8 @@ free_tmps (void *cls,
if (NULL != value)
{
struct TM_Peer *tmp = (struct TM_Peer *) value;
- GNUNET_CONTAINER_multihashmap_remove (man_handle.peers, key, value);
+ if (GNUNET_YES != GNUNET_CONTAINER_multihashmap_remove (man_handle.peers, key, value))
+ GNUNET_break (0);
free_metric (tmp);
next = tmp->send_head;
while (NULL != (dqe = next))