Cleanup: Mixed enums used for return code in send_sessiond_channel()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Nov 2014 22:34:21 +0000 (17:34 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Nov 2014 22:34:21 +0000 (17:34 -0500)
*** CID 1132649:  Inferred misuse of enum  (MIXED_ENUMS)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/ust-consumer/ust-consumer.c

index 24ba38757c235f5d0719374dd665c41c0e59cad5..38cdf70b467a752de700430bff2c76574139ee3e 100644 (file)
@@ -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;
This page took 0.027557 seconds and 4 git commands to generate.