lib: remove `BT_GRAPH_RUN_STATUS_END`
[babeltrace.git] / src / cli / babeltrace2-cfg.c
index 4c764a9e618ede9a2e57e30d5b63a5716175ec72..21a5ea17b8b30e5332bc15bfef4892b15bf32c6e 100644 (file)
@@ -34,8 +34,8 @@ void destroy_gstring(void *data)
 }
 
 /*
- * Extracts the various paths from the string arg, delimited by ':',
- * and appends them to the array value object plugin_paths.
+ * Extracts the various paths from the string arg, delimited by ':' on UNIX,
+ * ';' on Windows, and appends them to the array value object `plugin_paths`.
  */
 int bt_config_append_plugin_paths(
                bt_value *plugin_paths, const char *arg)
@@ -60,7 +60,7 @@ int bt_config_append_plugin_paths(
 
                ret = bt_value_array_append_string_element(
                        plugin_paths, dir->str);
-               if (ret != BT_VALUE_STATUS_OK) {
+               if (ret < 0) {
                        ret = -1;
                        goto end;
                }
This page took 0.026825 seconds and 4 git commands to generate.