From: schnorr Date: Tue, 28 Sep 2010 14:55:52 +0000 (+0000) Subject: using correct variables name when getting route from global_routing X-Git-Tag: v3_5~530 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/88f620e4aeaf16fdf69f5dc827e5362110d54e5f using correct variables name when getting route from global_routing git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8294 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/network.c b/src/surf/network.c index de8096361a..262dacca13 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -342,7 +342,7 @@ static void net_update_actions_state(double now, double delta) action->weight); } #ifdef HAVE_TRACING - xbt_dynar_t route = used_routing->get_route(action->src, action->dst); + xbt_dynar_t route = global_routing->get_route(action->src_name, action->dst_name); link_CM02_t link; unsigned int i; xbt_dynar_foreach(route, i, link) {