Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a test broken by homogeneisation of dicts
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 25 Dec 2011 20:56:04 +0000 (21:56 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 25 Dec 2011 20:56:04 +0000 (21:56 +0100)
examples/msg/properties/msg_prop.c

index 051ba16..5f33de9 100644 (file)
@@ -62,7 +62,7 @@ static void test_host(const char*hostname)
   XBT_INFO("   Property: %s old value: %s", exist, value);
    
   /* Restore the value for the next test */
   XBT_INFO("   Property: %s old value: %s", exist, value);
    
   /* Restore the value for the next test */
-  xbt_dict_set(props, exist, xbt_strdup("180"), xbt_free_f);
+  xbt_dict_set(props, exist, xbt_strdup("180"), NULL);
 }
 
 int alice(int argc, char *argv[]) { /* Dump what we have on the current host */
 }
 
 int alice(int argc, char *argv[]) { /* Dump what we have on the current host */