gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12280 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r12280 - gnunet/src/testing
Date: Tue, 20 Jul 2010 13:39:20 +0200

Author: nevans
Date: 2010-07-20 13:39:20 +0200 (Tue, 20 Jul 2010)
New Revision: 12280

Modified:
   gnunet/src/testing/testing_group.c
Log:
ignore case

Modified: gnunet/src/testing/testing_group.c
===================================================================
--- gnunet/src/testing/testing_group.c  2010-07-20 11:36:46 UTC (rev 12279)
+++ gnunet/src/testing/testing_group.c  2010-07-20 11:39:20 UTC (rev 12280)
@@ -498,7 +498,7 @@
     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 @@
  *         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 @@
     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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]