X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cb9dad4e95bf3b7434cae7f56ec767befca84f4e..9189fe94c14ef9e31142d1603a1979ea7e731a0a:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 83ee7ff3b0..ee613d911d 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -9,8 +9,9 @@ #include -#include "gras_config.h" /* to get a workgin stdarg.h */ +#include "gras_config.h" /* to get a working stdarg.h */ #include +#include /* snprintf */ #include "xbt_modinter.h" @@ -497,7 +498,7 @@ static xbt_error_t _xbt_log_cat_searchsub(xbt_log_category_t cat,char *name, if (errcode==no_error) return no_error; } - return mismatch_error; + return old_mismatch_error; } static void _cleanup_double_spaces(char *s) { @@ -583,7 +584,7 @@ void xbt_log_control_set(const char* control_string) { _xbt_log_parse_setting(p,set); errcode = _xbt_log_cat_searchsub(&_XBT_LOGV(root),set->catname,&cat); - if (errcode == mismatch_error) { + if (errcode == old_mismatch_error) { DEBUG0("Store for further application"); DEBUG1("push %p to the settings",(void*)set); xbt_dynar_push(xbt_log_settings,&set);