aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-08-08 13:12:29 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-08-08 13:12:29 +0000
commitee2ba8a10df942119e730d89941a9f89714640cf (patch)
treeb269503c381958e49285081672059c9890287ce6 /src/integration-tests
parente415630fc6f1fce42d644141ba23d6a5494ed5cf (diff)
downloadgnunet-ee2ba8a10df942119e730d89941a9f89714640cf.tar.gz
gnunet-ee2ba8a10df942119e730d89941a9f89714640cf.zip
coverity
Diffstat (limited to 'src/integration-tests')
-rw-r--r--src/integration-tests/connection_watchdog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/integration-tests/connection_watchdog.c b/src/integration-tests/connection_watchdog.c
index 2a3862876..456782ddd 100644
--- a/src/integration-tests/connection_watchdog.c
+++ b/src/integration-tests/connection_watchdog.c
@@ -572,6 +572,8 @@ map_connect (const struct GNUNET_PeerIdentity *peer, void * source)
572 } 572 }
573 573
574 pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey); 574 pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey);
575 GNUNET_assert (NULL != pc);
576
575 if (source == th) 577 if (source == th)
576 { 578 {
577 if (GNUNET_NO == pc->transport_connected) 579 if (GNUNET_NO == pc->transport_connected)
@@ -658,6 +660,8 @@ map_disconnect (const struct GNUNET_PeerIdentity * peer, void * source)
658 } 660 }
659 661
660 pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey); 662 pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey);
663 GNUNET_assert (NULL != pc);
664
661 if (source == th) 665 if (source == th)
662 { 666 {
663 if (NULL != pc->th_ping) 667 if (NULL != pc->th_ping)