projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: strictly type function return status enumerations
[babeltrace.git]
/
src
/
cli
/
babeltrace2-cfg.c
diff --git
a/src/cli/babeltrace2-cfg.c
b/src/cli/babeltrace2-cfg.c
index 4c764a9e618ede9a2e57e30d5b63a5716175ec72..4ab27b0b6a2d0917cb6495f43b67f580dc824df2 100644
(file)
--- a/
src/cli/babeltrace2-cfg.c
+++ b/
src/cli/babeltrace2-cfg.c
@@
-60,7
+60,7
@@
int bt_config_append_plugin_paths(
ret = bt_value_array_append_string_element(
plugin_paths, dir->str);
ret = bt_value_array_append_string_element(
plugin_paths, dir->str);
- if (ret
!= BT_VALUE_STATUS_OK
) {
+ if (ret
< 0
) {
ret = -1;
goto end;
}
ret = -1;
goto end;
}
This page took
0.023202 seconds
and
4
git commands to generate.