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
one set of macros for min/max is enough
[simgrid.git]
/
src
/
xbt
/
log.c
diff --git
a/src/xbt/log.c
b/src/xbt/log.c
index
2019f4c
..
075e482
100644
(file)
--- a/
src/xbt/log.c
+++ b/
src/xbt/log.c
@@
-1161,7
+1161,7
@@
static xbt_log_setting_t _xbt_log_parse_setting(const char *control_string)
set->fmt = xbt_strdup(eq + 1);
} else {
char buff[512];
- snprintf(buff,
min
(512, eq - dot), "%s", dot + 1);
+ snprintf(buff,
MIN
(512, eq - dot), "%s", dot + 1);
THROWF(arg_error, 0, "Unknown setting of the log category: '%s'",
buff);
}