char *key,*data, *end;
const char *sep = "#";
xbt_dynar_t links, keys;
+ char* link = NULL;
if (routing_table == NULL) create_routing_table();
impact_on_src_with_other_recv = 0;//atof(xbt_dynar_get_as(keys, 4, char*));
impact_on_dst_with_other_send = 0;//atof(xbt_dynar_get_as(keys, 5, char*));
- char* link = NULL;
- INFO2("%d - %d", src_id, dst_id);
+
xbt_dynar_foreach (links, cpt, link) {
TRY {
- INFO1("\t%s",link);
link_list[nb_link++] = xbt_dict_get(link_set, link);
}
CATCH(e) {
- RETHROW3("Link %s not found between", link);
+ RETHROW1("Link %s not found (dict raised this exception: %s)", link);
}
}
route_new(src_id, dst_id, link_list, nb_link,impact_on_src,