From: Nathan S. Evans Date: Tue, 21 Dec 2010 13:27:00 +0000 (+0000) Subject: reduce config variables X-Git-Tag: initial-import-from-subversion-38251~19490 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e4f2bacf2beaffa89ae289cc3d7282a72428f620;p=oweals%2Fgnunet.git reduce config variables --- diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index 2369738b8..9deca4ac8 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c @@ -1489,14 +1489,14 @@ create_nated_internet (struct GNUNET_TESTING_PeerGroup *pg, nat_percentage = 0.6; /* FIXME: default percentage? */ if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", - "NATPERCENTAGE", + "PERCENTAGE", &p_string)) { if (sscanf (p_string, "%lf", &nat_percentage) != 1) GNUNET_log (GNUNET_ERROR_TYPE_WARNING, _ ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), - p_string, "NATPERCENTAGE", "TESTING"); + p_string, "PERCENTAGE", "TESTING"); GNUNET_free (p_string); }