X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-consumer.c;h=60ec5c0b2d623013d7bc2858c2927e207e1b9e4e;hp=7c1ae402c8ded33c75532d76530ba5ddf195001d;hb=d0b96690836f4b876096f3dc14801f8e25281a77;hpb=785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f diff --git a/src/bin/lttng-sessiond/ust-consumer.c b/src/bin/lttng-sessiond/ust-consumer.c index 7c1ae402c..60ec5c0b2 100644 --- a/src/bin/lttng-sessiond/ust-consumer.c +++ b/src/bin/lttng-sessiond/ust-consumer.c @@ -132,7 +132,7 @@ static int ask_channel_creation(struct ust_app_session *ua_sess, ua_sess->gid, consumer->net_seq_index, ua_chan->key, - ua_sess->uuid); + ua_sess->registry.uuid); health_code_update(); @@ -228,7 +228,6 @@ int ust_consumer_get_channel(struct consumer_socket *socket, } goto error; } - ua_chan->handle = ua_chan->obj->handle; /* Next, get all streams. */ while (1) { @@ -345,6 +344,7 @@ int ust_consumer_send_stream_to_ust(struct ust_app *app, } goto error; } + channel->handle = channel->obj->handle; error: return ret;