X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8e957279b0b8abc6294f0b38c0a00c1d889086a2..80f4255f4efe689fb70fa5da4cf28e5fbc72d865:/src/surf/surf_routing.c diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index aef6d31638..e55fd87684 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -100,8 +100,8 @@ static void routing_full_parse_Srouter(void) { *val = HOST2ROUTER(used_routing->router_count++); xbt_dict_set(used_routing->host_id,A_surfxml_router_id,val,xbt_free); #ifdef HAVE_TRACING - TRACE_surf_host_define_id (A_surfxml_host_id, *val); - TRACE_surf_host_declaration (A_surfxml_host_id, 0); + TRACE_surf_host_define_id (A_surfxml_router_id, *val); + TRACE_surf_host_declaration (A_surfxml_router_id, 0); #endif } @@ -1087,9 +1087,6 @@ void routing_add_host(char* host_id) DEBUG2("Seen host %s (#%d)",host_id,used_routing->host_count); *val = used_routing->host_count++; xbt_dict_set(used_routing->host_id,host_id,val,xbt_free); - #ifdef HAVE_TRACING - TRACE_surf_host_define_id (host_id, *val); - #endif } void routing_set_routes()