X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/db18cc7478c6fc7ce0d9e0c171b7fcb3cfc12491..4fc610b42e6253c348b6fcc85f41f41bf13a19ea:/src/xbt/module.c diff --git a/src/xbt/module.c b/src/xbt/module.c index d435369a7e..0c90ca5c3b 100644 --- a/src/xbt/module.c +++ b/src/xbt/module.c @@ -35,7 +35,10 @@ struct xbt_module_ { void xbt_init(int *argc, char **argv) { - xbt_init_defaultlog(argc, argv, NULL); + static int first_run = 1; + if(first_run) + xbt_init_defaultlog(argc, argv, NULL); + first_run = 0; } /**