add end of stream notification
[babeltrace.git] / plugins / ctf / fs / fs.c
index ba550f2f973f4f5c480b63612e52e6bb4e3a5993..cf00fddd9986c2aa288d0b2e222d0d65342f3a1b 100644 (file)
@@ -86,7 +86,7 @@ enum bt_notification_iterator_status ctf_fs_iterator_next(
        bt_put(ctf_fs->current_notification);
        ctf_fs->current_notification = notification;
 end:
-       return BT_NOTIFICATION_ITERATOR_STATUS_OK;
+       return ret;
 }
 
 static
@@ -137,7 +137,6 @@ enum bt_component_status ctf_fs_iterator_init(struct bt_component *source,
        if (ret) {
                goto error;
        }
-
 end:
        return ret;
 error:
@@ -240,7 +239,6 @@ enum bt_component_status ctf_fs_init(struct bt_component *source,
        if (ret != BT_COMPONENT_STATUS_OK) {
                goto error;
        }
-
 end:
        return ret;
 error:
This page took 0.024051 seconds and 4 git commands to generate.