Fix: Ensure a packet context is a structure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Dec 2014 00:03:28 +0000 (19:03 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Dec 2014 00:06:20 +0000 (19:06 -0500)
commitb34f4d90911702fc859c7b48b04e2aa19cd49b75
tree2087eda7a0d5a053fa829e7629ebda7b96a83c13
parent705105fc18f3a8ca1413913a9954c124a8516dc8
Fix: Ensure a packet context is a structure

bt_ctf_stream_class_set_packet_context_type was checking the current
stream packet context's type instead of the one being passed.

Added a test to validate that the check is done appropriately.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/stream-class.c
tests/lib/test_ctf_writer.c
This page took 0.024883 seconds and 4 git commands to generate.