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 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into LLL
[simgrid.git]
/
src
/
xbt
/
log.c
diff --git
a/src/xbt/log.c
b/src/xbt/log.c
index
1a29248
..
4bed85f
100644
(file)
--- a/
src/xbt/log.c
+++ b/
src/xbt/log.c
@@
-473,8
+473,8
@@
xbt_log_layout_t xbt_log_default_layout = NULL; /* set in log_init */
typedef struct {
char *catname;
typedef struct {
char *catname;
- e_xbt_log_priority_t thresh;
char *fmt;
char *fmt;
+ e_xbt_log_priority_t thresh;
int additivity;
xbt_log_appender_t appender;
} s_xbt_log_setting_t, *xbt_log_setting_t;
int additivity;
xbt_log_appender_t appender;
} s_xbt_log_setting_t, *xbt_log_setting_t;
@@
-1060,7
+1060,7
@@
void xbt_log_control_set(const char *control_string)
/* split the string, and remove empty entries */
set_strings = xbt_str_split_quoted(control_string);
/* split the string, and remove empty entries */
set_strings = xbt_str_split_quoted(control_string);
- if (xbt_dynar_
length(set_strings) == 0
) { /* vicious user! */
+ if (xbt_dynar_
is_empty(set_strings)
) { /* vicious user! */
xbt_dynar_free(&set_strings);
return;
}
xbt_dynar_free(&set_strings);
return;
}