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>
Wed, 11 Sep 2019 00:04:33 +0000 (20:04 -0400)
commit9898f786493c5e60dcf99fa3102bb95752ad73ed
tree48e3c236e0f4120c339a57d8fa933585e127ef68
parentf2e086eddce40fb3b772f50f4cd8023f2cc2a10f
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.025827 seconds and 4 git commands to generate.