lib: bt_version_get_extra(): return `NULL` if none instead of empty str.
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 20 Jan 2020 21:59:05 +0000 (16:59 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 21 Jan 2020 20:14:32 +0000 (15:14 -0500)
commit3149cde3aa7f87298db3e256e784e6ca6fb76882
tree7ee704a2d871044da310c14baa0adc7f205a4daf
parentfbc5b3076ddaa6a8380a44ddfa407b0d2c928f7f
lib: bt_version_get_extra(): return `NULL` if none instead of empty str.

This follows the pattern we have for other optional strings returned by
the library.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I775f4f3be917bde405ad3b5e63183dae9609cf03
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2833
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
include/babeltrace2/version.h
src/lib/babeltrace2.c
This page took 0.025123 seconds and 4 git commands to generate.