From 8754c9ad1865e738dd002acdde0dee0b7dda5cdf Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Tue, 20 Jul 2010 11:39:20 +0000 Subject: ignore case --- src/testing/testing_group.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/testing/testing_group.c') diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index a1a57c6ac..78100e446 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c @@ -498,7 +498,7 @@ GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char * topol return GNUNET_NO; while (topology_strings[curr] != NULL) { - if (strcmp(topology_strings[curr], topology_string) == 0) + if (strcasecmp(topology_strings[curr], topology_string) == 0) { *topology = curr; return GNUNET_YES; @@ -520,8 +520,8 @@ GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char * topol * topology option, GNUNET_NO if not */ int -GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_option, - char * topology_string) +GNUNET_TESTING_topology_option_get (enum GNUNET_TESTING_TopologyOption *topology_option, + char * topology_string) { /** * Options for connecting a topology as strings. @@ -564,7 +564,7 @@ GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_ return GNUNET_NO; while (NULL != topology_option_strings[curr]) { - if (strcmp(topology_option_strings[curr], topology_string) == 0) + if (strcasecmp(topology_option_strings[curr], topology_string) == 0) { *topology_option = curr; return GNUNET_YES; -- cgit v1.2.3