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
wtf? 13k spaces are a bit overplayed
[simgrid.git]
/
src
/
xbt
/
xbt_log_layout_simple.c
diff --git
a/src/xbt/xbt_log_layout_simple.c
b/src/xbt/xbt_log_layout_simple.c
index
030a17b
..
f6a09be
100644
(file)
--- a/
src/xbt/xbt_log_layout_simple.c
+++ b/
src/xbt/xbt_log_layout_simple.c
@@
-46,7
+46,7
@@
static void xbt_log_layout_simple_dynamic(xbt_log_layout_t l,
xbt_strbuff_append(buff, loc_buff);
xbt_strbuff_append(buff, loc_buff);
-
vasprintf(&p,
fmt, ev->ap_copy);
+
p = bvprintf(
fmt, ev->ap_copy);
xbt_strbuff_append(buff, p);
free(p);
xbt_strbuff_append(buff, p);
free(p);
@@
-71,9
+71,9
@@
static void xbt_log_layout_simple_doit(xbt_log_layout_t l,
{
char *p;
const char *procname = NULL;
{
char *p;
const char *procname = NULL;
- xbt_assert
0
(ev->priority >= 0,
+ xbt_assert(ev->priority >= 0,
"Negative logging priority naturally forbidden");
"Negative logging priority naturally forbidden");
- xbt_assert
1
(ev->priority < sizeof(xbt_log_priority_names),
+ xbt_assert(ev->priority < sizeof(xbt_log_priority_names),
"Priority %d is greater than the biggest allowed value",
ev->priority);
"Priority %d is greater than the biggest allowed value",
ev->priority);