X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d2d3e2b7d7f87d5bc23fde635734e88c45842b24..3c3e6f4613478826b4563256814b791101b92bb3:/src/surf/surf_routing_generic.cpp diff --git a/src/surf/surf_routing_generic.cpp b/src/surf/surf_routing_generic.cpp index 908e46ecb8..92133dd209 100644 --- a/src/surf/surf_routing_generic.cpp +++ b/src/surf/surf_routing_generic.cpp @@ -234,7 +234,8 @@ sg_platf_route_cbarg_t AsGeneric::getBypassRoute(RoutingEdgePtr src, if (src == NULL || dst == NULL) xbt_die("Ask for route \"from\"(%s) or \"to\"(%s) no found at AS \"%s\"", - src->getName(), dst->getName(), p_name); + src ? src->getName() : "(null)", + dst ? dst->getName() : "(null)", p_name); src_as = src->getRcComponent(); dst_as = dst->getRcComponent();