Fix: unreported error in relay_close_trace_chunk
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 11 Sep 2019 00:04:33 +0000 (20:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commit91fe0613754c503a81b8d1c59002595647f34148
tree969feeccc1ac4085388435b7d55cd03e4dbd1b99
parentcd3a5fb5904e57c00c58a532bb5de1c5014aa4bb
Fix: unreported error in relay_close_trace_chunk

Errors encountered in relay_close_trace_chunk are not reported to the
caller as the 'ret' value is re-used to check for the successful
'append' to a dynamic buffer. Use a separate variable.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c
This page took 0.025134 seconds and 4 git commands to generate.