diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-07-20 11:39:20 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-07-20 11:39:20 +0000 |
commit | 8754c9ad1865e738dd002acdde0dee0b7dda5cdf (patch) | |
tree | fc19436810a64b0c83bcb6adedec4cf593529872 /src/testing | |
parent | 66e858fd6e8be87877c2deebfc371934df2e3bd2 (diff) | |
download | gnunet-8754c9ad1865e738dd002acdde0dee0b7dda5cdf.tar.gz gnunet-8754c9ad1865e738dd002acdde0dee0b7dda5cdf.zip |
ignore case
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_group.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 | |||
498 | return GNUNET_NO; | 498 | return GNUNET_NO; |
499 | while (topology_strings[curr] != NULL) | 499 | while (topology_strings[curr] != NULL) |
500 | { | 500 | { |
501 | if (strcmp(topology_strings[curr], topology_string) == 0) | 501 | if (strcasecmp(topology_strings[curr], topology_string) == 0) |
502 | { | 502 | { |
503 | *topology = curr; | 503 | *topology = curr; |
504 | return GNUNET_YES; | 504 | return GNUNET_YES; |
@@ -520,8 +520,8 @@ GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char * topol | |||
520 | * topology option, GNUNET_NO if not | 520 | * topology option, GNUNET_NO if not |
521 | */ | 521 | */ |
522 | int | 522 | int |
523 | GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_option, | 523 | GNUNET_TESTING_topology_option_get (enum GNUNET_TESTING_TopologyOption *topology_option, |
524 | char * topology_string) | 524 | char * topology_string) |
525 | { | 525 | { |
526 | /** | 526 | /** |
527 | * Options for connecting a topology as strings. | 527 | * Options for connecting a topology as strings. |
@@ -564,7 +564,7 @@ GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_ | |||
564 | return GNUNET_NO; | 564 | return GNUNET_NO; |
565 | while (NULL != topology_option_strings[curr]) | 565 | while (NULL != topology_option_strings[curr]) |
566 | { | 566 | { |
567 | if (strcmp(topology_option_strings[curr], topology_string) == 0) | 567 | if (strcasecmp(topology_option_strings[curr], topology_string) == 0) |
568 | { | 568 | { |
569 | *topology_option = curr; | 569 | *topology_option = curr; |
570 | return GNUNET_YES; | 570 | return GNUNET_YES; |