Move remaining protorectoral files to ctf fs plugin
[babeltrace.git] / lib / plugin-system / source.c
index e7c4c9af1b0220c304d3c78e7a1d361ec990047f..333139f51f17e6c5f74ad35b228325aa9c7af9d6 100644 (file)
@@ -56,7 +56,7 @@ enum bt_component_status bt_component_source_validate(
        }
 
        source = container_of(component, struct bt_component_source, parent);
-       if (source->init_iterator) {
+       if (!source->init_iterator) {
                ret = BT_COMPONENT_STATUS_INVALID;
                goto end;
        }
This page took 0.023374 seconds and 4 git commands to generate.