Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding everything needed to develop GRAS benchmarking macros.
[simgrid.git] / include / xbt / dict.h
index e9fdb4c..bb45bef 100644 (file)
@@ -29,7 +29,7 @@ BEGIN_DECL()
  char buff[512];
 
  sprintf(buff,"some very precious data");
- xbt_dict_set(mydict,"my data", strdump(buff), free); 
+ xbt_dict_set(mydict,"my data", strdup(buff), free); 
 
  sprintf(buff,"another good stuff");
  xbt_dict_set(mydict,"my data", strdup(buff), free); // previous data gets erased (and freed) by second add \endverbatim