X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c57842fe897f53b46f0be3da87f7c996674be7d6..4aa1cd22325b98b31547d515f870d99ba2057d5f:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 410bf813cb..80394daf24 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -1098,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;