Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use MSG_host_set_property_value everywhere
[simgrid.git] / examples / msg / properties / msg_prop.c
index 17fac55981d0c0376b5b1bfb02fb7a549afd8e65..efbc52c9e22d6ec6ffb505cdd9d1c01608377041 100644 (file)
@@ -74,7 +74,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_dict_set(props, exist, xbt_strdup("180"), NULL);
+  MSG_host_set_property_value(thehost, exist, xbt_strdup("180"), NULL);
 }
 
 int alice(int argc, char *argv[]) { /* Dump what we have on the current host */