check return vals
authorChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 11:50:51 +0000 (11:50 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 11:50:51 +0000 (11:50 +0000)
src/testing/test_testing_reconnect.c

index e9519ab3bb0007115d550668c9d5c81ede65304c..f317040fb998c50deb16ab5f5968dd4495cc8174 100644 (file)
@@ -192,9 +192,9 @@ run (void *cls, char *const *args, const char *cfgfile,
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemon.\n");
 #endif
   c1 = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf");
+  GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf"));
   c2 = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf");
+  GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf"));
   run_phase ();
 }