From: Martin Quinson Date: Sun, 25 Dec 2011 20:56:04 +0000 (+0100) Subject: fix a test broken by homogeneisation of dicts X-Git-Tag: exp_20120216~224 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/922b893e3976c3c0162c5b5beeba247ca26d0b5c?hp=f121073f78d7355aba33a0be821b7d625e8d20a0 fix a test broken by homogeneisation of dicts --- diff --git a/examples/msg/properties/msg_prop.c b/examples/msg/properties/msg_prop.c index 051ba16380..5f33de9313 100644 --- a/examples/msg/properties/msg_prop.c +++ b/examples/msg/properties/msg_prop.c @@ -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_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 */