From 550c0e45cefecbf4acf3b0a2597cd10dfd92be70 Mon Sep 17 00:00:00 2001 From: velho Date: Wed, 7 Oct 2009 14:50:12 +0000 Subject: [PATCH] Bug fix, surf_routing needs love. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6739 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/surf/surf_routing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.20.1