X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e52cdafc655354a1c98193c817fc205d5be353e..3736e0252d96679e19cfbe41f3c09833d3734386:/src/surf/surf.c diff --git a/src/surf/surf.c b/src/surf/surf.c index 2f90fa918c..142e0bcda5 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -198,7 +198,7 @@ int find_model_description(s_surf_model_description_t * table, for (i = 1; table[i].name; i++) { name_list = xbt_realloc(name_list, - strlen(name_list) + strlen(table[i].name) + 2); + strlen(name_list) + strlen(table[i].name) + 3); strcat(name_list, ", "); strcat(name_list, table[i].name); }