Clean-up: sessiond: cmd_enable_channel_internal
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 25 Mar 2022 19:43:56 +0000 (15:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 28 Mar 2022 20:24:47 +0000 (16:24 -0400)
commit4878de5c7deb512bbdac4fdfc498907efa06fb7c
tree73f97d1e237c74670c229b26d31af61d1e43a20f
parent159a54f4a1c884e465c40ffc7ac02fd64c294bf8
Clean-up: sessiond: cmd_enable_channel_internal

After catching an error code mixup in cmd_enable_channel_internal, this
change explicitly sets the return type of cmd_enable_channel_internal
and of its callees to `enum lttng_error_code` since those already return
these values as integers.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic3c042c2ee3d259cc694e6aaf3a1a2f3ca843042
src/bin/lttng-sessiond/channel.cpp
src/bin/lttng-sessiond/channel.h
src/bin/lttng-sessiond/cmd.cpp
This page took 0.027694 seconds and 4 git commands to generate.