From c09e07b428d1d4692b5ad2f51dd77ea3adc13c47 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Oct 2011 21:15:13 +0000 Subject: [PATCH] use load, not parse --- src/testing/test_testing_connect.c | 4 ++-- src/testing/test_testing_reconnect.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 (); } -- 2.25.1