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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 21 Jan 2020 19:30:19 +0000 (14:30 -0500)
commitf2088c801437b7c969cae974981026dac8e6423f
treef94176542a9422f7bcdb7c18ce054fc867eda0ba
parentaaa8b69881b8f66b2ddb910c1e4a8dd758efb511
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.024156 seconds and 4 git commands to generate.