X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b40c2e9bf3cf6e8b2fad15594852ce186bf99574..4aa1cd22325b98b31547d515f870d99ba2057d5f:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index ad1176069d..80394daf24 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -715,6 +715,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(surf_route_cluster); XBT_LOG_CONNECT(surf_route_cluster_torus); XBT_LOG_CONNECT(surf_route_dijkstra); + XBT_LOG_CONNECT(surf_route_fat_tree); XBT_LOG_CONNECT(surf_route_floyd); XBT_LOG_CONNECT(surf_route_full); XBT_LOG_CONNECT(surf_route_none); @@ -1097,8 +1098,8 @@ static xbt_log_setting_t _xbt_log_parse_setting(const char *control_string) eq = control_string; control_string += strcspn(control_string, " "); - xbt_assert(*dot == '.' && (*eq == '=' || *eq == ':'), - "Invalid control string '%s'", orig_control_string); + if(*dot != '.' && (*eq == '=' || *eq == ':')) + xbt_die ("Invalid control string '%s'", orig_control_string); if (!strncmp(dot + 1, "threshold", (size_t) (eq - dot - 1))) { int i;