aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_disconnect.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-24 11:24:39 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-24 11:24:39 +0000
commitd39bbd5834b0dd3334d05c1db1be838bb93194f3 (patch)
tree0a320694521325872fc439fa4611cfd02b88e63f /src/transport/test_transport_api_disconnect.c
parentaed7bd421169b2426e76a6868569fba82389f5f2 (diff)
downloadgnunet-d39bbd5834b0dd3334d05c1db1be838bb93194f3.tar.gz
gnunet-d39bbd5834b0dd3334d05c1db1be838bb93194f3.zip
check return values
Diffstat (limited to 'src/transport/test_transport_api_disconnect.c')
-rw-r--r--src/transport/test_transport_api_disconnect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_disconnect.c b/src/transport/test_transport_api_disconnect.c
index 227b0afad..850244810 100644
--- a/src/transport/test_transport_api_disconnect.c
+++ b/src/transport/test_transport_api_disconnect.c
@@ -277,8 +277,9 @@ setup_peer (struct PeerContext *p, const char *cfgname)
277 277
278 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); 278 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
279 if (GNUNET_CONFIGURATION_have_value (p->cfg, "PATHS", "SERVICEHOME")) 279 if (GNUNET_CONFIGURATION_have_value (p->cfg, "PATHS", "SERVICEHOME"))
280 GNUNET_CONFIGURATION_get_value_string (p->cfg, "PATHS", "SERVICEHOME", 280 GNUNET_assert (GNUNET_OK ==
281 &p->servicehome); 281 GNUNET_CONFIGURATION_get_value_string (p->cfg, "PATHS", "SERVICEHOME",
282 &p->servicehome));
282 if (NULL != p->servicehome) 283 if (NULL != p->servicehome)
283 GNUNET_DISK_directory_remove (p->servicehome); 284 GNUNET_DISK_directory_remove (p->servicehome);
284 285