Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
For tesh, produce the same output for different context settings
authorChristophe Thiéry <christopho128@gmail.com>
Thu, 21 Apr 2011 09:16:42 +0000 (11:16 +0200)
committerChristophe Thiéry <christopho128@gmail.com>
Thu, 21 Apr 2011 09:16:42 +0000 (11:16 +0200)
src/xbt/config.c

index b71e69c..f5fd93c 100644 (file)
@@ -663,7 +663,7 @@ void xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options)
                xbt_die("Setting CMD prop coordinates must be \"yes\"");
     }
 
-    if (strcmp(name,"contexts/factory"))
+    if (strncmp(name, "contexts/", strlen("contexts/")))
       XBT_INFO("Configuration change: Set '%s' to '%s'", name, val);
 
     TRY {