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:28 +0000 (16:50 -0400)
commita077f1caf076207936cad298825447d2e29dd8e1
tree9ec4f62cd97671edac816d227d919a7c29e65e07
parent6fff339b9bbd5bf4eaabef48fb82bbc25d803dbb
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.028338 seconds and 4 git commands to generate.