From: Jérémie Galarneau Date: Wed, 26 Nov 2014 22:34:21 +0000 (-0500) Subject: Cleanup: Mixed enums used for return code in send_sessiond_channel() X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=725d28b2d246b597f9040d8a10c975eb083e9e4d;p=lttng-tools.git Cleanup: Mixed enums used for return code in send_sessiond_channel() *** CID 1132649: Inferred misuse of enum (MIXED_ENUMS) Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index 24ba38757..38cdf70b4 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -434,7 +434,7 @@ static int send_sessiond_channel(int sock, if (relayd_error) { *relayd_error = 1; } - ret_code = LTTNG_ERR_RELAYD_CONNECT_FAIL; + ret_code = LTTCOMM_CONSUMERD_RELAYD_FAIL; } if (net_seq_idx == -1ULL) { net_seq_idx = stream->net_seq_idx;