A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
[simgrid.git]
/
src
/
xbt
/
log.c
diff --git
a/src/xbt/log.c
b/src/xbt/log.c
index
adaa919
..
a089714
100644
(file)
--- a/
src/xbt/log.c
+++ b/
src/xbt/log.c
@@
-1345,8
+1345,8
@@
static void xbt_log_help_categories_rec(xbt_log_category_t category,
this_prefix = bprintf("%s \\_ ", prefix);
child_prefix = bprintf("%s | ", prefix);
} else {
this_prefix = bprintf("%s \\_ ", prefix);
child_prefix = bprintf("%s | ", prefix);
} else {
- this_prefix =
bprintf("%s",
prefix);
- child_prefix =
bprintf("%s",
prefix);
+ this_prefix =
xbt_strdup(
prefix);
+ child_prefix =
xbt_strdup(
prefix);
}
dynar = xbt_dynar_new(sizeof(xbt_log_category_t), NULL);
}
dynar = xbt_dynar_new(sizeof(xbt_log_category_t), NULL);