X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/73cac04c5ce217e495a7584c98a6dbd940552e9c..3eef4e948ebd9b1d8c9d26a6dedd535109856554:/src/surf/surf_routing_full.c?ds=sidebyside diff --git a/src/surf/surf_routing_full.c b/src/surf/surf_routing_full.c index 926b6ad815..be6166c689 100644 --- a/src/surf/surf_routing_full.c +++ b/src/surf/surf_routing_full.c @@ -199,8 +199,8 @@ void model_full_set_route(routing_component_t rc, const char *src, routing_component_full_t routing = ((routing_component_full_t) rc); size_t table_size = xbt_dict_length(routing->generic_routing.to_index); - xbt_assert(src_id - && dst_id, "Network elements %s or %s not found", src, dst); + xbt_assert(src_id, "Network elements %s not found", src); + xbt_assert(dst_id, "Network elements %s not found", dst); xbt_assert(xbt_dynar_length(route->generic_route.link_list) > 0, "Invalid count of links, must be greater than zero (%s,%s)",