Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use MSG_host_set_property_value everywhere
authorsuter <frederic.suter@cc.in2p3.fr>
Tue, 30 Oct 2012 19:50:41 +0000 (20:50 +0100)
committersuter <frederic.suter@cc.in2p3.fr>
Tue, 30 Oct 2012 19:50:41 +0000 (20:50 +0100)
examples/msg/properties/msg_prop.c

index 17fac55..efbc52c 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 */