Cleanup: Mixed enums used for return code in send_sessiond_channel()
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index 52b6979bf72b985e70164e283f5d4a4855a050ce..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;
@@ -1882,7 +1882,7 @@ static int notify_if_more_data(struct lttng_consumer_stream *stream,
                goto end;
        }
 
-       ret = ustctl_put_next_subbuf(ustream);
+       ret = ustctl_put_subbuf(ustream);
        assert(!ret);
 
        /* This stream still has data. Flag it and wake up the data thread. */
This page took 0.023798 seconds and 4 git commands to generate.