Docs: Add a comment about event validation in bt_ctf_stream_append_event
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 Dec 2014 00:29:17 +0000 (19:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 Dec 2014 23:50:52 +0000 (18:50 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.024809 seconds and 4 git commands to generate.