From: Christian Grothoff Date: Tue, 4 Oct 2011 21:15:13 +0000 (+0000) Subject: use load, not parse X-Git-Tag: initial-import-from-subversion-38251~16806 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c09e07b428d1d4692b5ad2f51dd77ea3adc13c47;p=oweals%2Fgnunet.git use load, not parse --- diff --git a/src/testing/test_testing_connect.c b/src/testing/test_testing_connect.c index 5ace31f82..a53dc9b90 100644 --- a/src/testing/test_testing_connect.c +++ b/src/testing/test_testing_connect.c @@ -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); diff --git a/src/testing/test_testing_reconnect.c b/src/testing/test_testing_reconnect.c index d12e29e78..433b02794 100644 --- a/src/testing/test_testing_reconnect.c +++ b/src/testing/test_testing_reconnect.c @@ -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 (); }