centralize sessiond config option handling
[lttng-tools.git] / src / bin / lttng-sessiond / ust-consumer.c
index fe2c8f4c8055b41048e6b9645ab7e2e2572f5c21..82fd0ea074e0519c2c6bac47c146295e6c861053 100644 (file)
@@ -192,6 +192,7 @@ static int ask_channel_creation(struct ust_app_session *ua_sess,
                        ua_sess->id,
                        ua_sess->output_traces,
                        ua_sess->uid,
+                       ua_chan->attr.blocking_timeout,
                        root_shm_path, shm_path);
 
        health_code_update();
@@ -320,7 +321,6 @@ int ust_consumer_get_channel(struct consumer_socket *socket,
                        free(stream);
                        if (ret == -LTTNG_UST_ERR_NOENT) {
                                DBG3("UST app consumer has no more stream available");
-                               ret = 0;
                                break;
                        }
                        if (ret != -EPIPE) {
This page took 0.02439 seconds and 5 git commands to generate.