X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ca3d4ed46f505de8019e88a8006f5f431d5d8b9d..550c0e45cefecbf4acf3b0a2597cd10dfd92be70:/src/surf/surf_routing.c diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index c95d098ee8..45a8b14097 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -281,7 +281,7 @@ static void routing_full_parse_end(void) { link_name = xbt_dynar_getfirst_as(links, char*); new_link->link_ptr = xbt_dict_get_or_null(surf_network_model->resource_set, link_name); DEBUG3("Adding onelink route from (#%d) to (#%d), link_name %s",src_id, dst_id, link_name); - xbt_dict_set_ext(onelink_routes, link_name, sizeof(char *), (void *)new_link, onelink_route_elem_free); + xbt_dict_set(onelink_routes, link_name, (void *)new_link, onelink_route_elem_free); } if(ISROUTER(src_id) || ISROUTER(dst_id)) {