Fix: use LTTNG_VIEWER_ATTACH_UNK to report a closed session
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 7 Sep 2018 19:18:37 +0000 (15:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 17 Sep 2018 20:50:48 +0000 (16:50 -0400)
commit6d801f10eebba594c3f796f5dabc752af58aa622
tree6eb030b8e99b50d0a5e2504cbd5a0739dbc1074d
parentaacbfa47ad16d5778726b678c095b824d75d388b
Fix: use LTTNG_VIEWER_ATTACH_UNK to report a closed session

LTTNG_VIEWER_NEW_STREAMS_HUP is not a valid error number for the
LTTNG_VIEWER_ATTACH_SESSION command. This result in erroneous error
reporting on the client side.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/live.c
This page took 0.025895 seconds and 4 git commands to generate.