use load, not parse
authorChristian Grothoff <christian@grothoff.org>
Tue, 4 Oct 2011 21:15:13 +0000 (21:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 4 Oct 2011 21:15:13 +0000 (21:15 +0000)
src/testing/test_testing_connect.c
src/testing/test_testing_reconnect.c

index 5ace31f82d81c319d1047634479b60f5a72d5382..a53dc9b9083636c60a5ec5052c787c4047b213d8 100644 (file)
@@ -147,9 +147,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_parse (c1, "test_testing_connect_peer1.conf");
+  GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf");
   c2 = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_parse (c2, "test_testing_connect_peer2.conf");
+  GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf");
   d1 = GNUNET_TESTING_daemon_start (c1, TIMEOUT, GNUNET_NO, NULL, NULL, 0, NULL,
                                     NULL, NULL, &my_cb1, NULL);
   GNUNET_assert (d1 != NULL);
index d12e29e78591c8c81f7a1eaf08dcb2a5b4025330..433b0279492965e5973d15d48ad2b6f961ca6f82 100644 (file)
@@ -176,9 +176,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_parse (c1, "test_testing_connect_peer1.conf");
+  GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf");
   c2 = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_parse (c2, "test_testing_connect_peer2.conf");
+  GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf");
   run_phase ();
 }