From: Nathan S. Evans Date: Tue, 20 Jul 2010 11:39:20 +0000 (+0000) Subject: ignore case X-Git-Tag: initial-import-from-subversion-38251~20904 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8754c9ad1865e738dd002acdde0dee0b7dda5cdf;p=oweals%2Fgnunet.git ignore case --- 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;