X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bf5d490b0215440d200846dfec8d2d125b947897..46480f4e2718f823bb016962c1656f0d4818070d:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 4bed85f582..47297d97a5 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -836,7 +836,7 @@ void xbt_log_parent_set(xbt_log_category_t cat, xbt_log_category_t parent) */ if (cat->threshold != xbt_log_priority_uninitialized) { - xbt_log_category_t *cpp = &parent->firstChild; + xbt_log_category_t *cpp = &cat->parent->firstChild; while (*cpp != cat && *cpp != NULL) { cpp = &(*cpp)->nextSibling;