Fix: set stream id in HUP case
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Aug 2015 18:41:04 +0000 (14:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Jan 2018 21:38:57 +0000 (16:38 -0500)
commit9c8366a90aecd1a4fb4e92025b59fc070574bcd6
treed68ce652ef55b46a715d46c575631c425559e71b
parente88db11d3c6d4966f3efdb03901533e9ebab2b76
Fix: set stream id in HUP case

In the case where a stream is closed when we get its first index, we
still need a valid stream_id to assign it in the right stream (channel).
In this case, it is not useful afterwards, but the debug output has the
right value instead of -1ULL.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/lttng-live/lttng-live-comm.c
This page took 0.025968 seconds and 4 git commands to generate.