Docs: Add a comment about event validation in bt_ctf_stream_append_event
[babeltrace.git] / formats / ctf / ir / stream.c
index 5cf7eab3323ab77a30a2f7c87c4315e6e32d7d28..329306026ab73a17e4b5cea8f7cccc9a6706d6e7 100644 (file)
@@ -283,6 +283,7 @@ int bt_ctf_stream_append_event(struct bt_ctf_stream *stream,
                goto end;
        }
 
+       /* Make sure the event's payload is set */
        ret = bt_ctf_event_validate(event);
        if (ret) {
                goto end;
This page took 0.022855 seconds and 4 git commands to generate.