Fix: consumerd should initialize lttcomm
[lttng-tools.git] / src / bin / lttng-consumerd / lttng-consumerd.c
index 8ddd5a372005490bb37f1ef8c01bc8045dabdbde..04bcef847d0f2196615aebb55e0a3a28c1d35e2a 100644 (file)
@@ -319,6 +319,9 @@ int main(int argc, char **argv)
 
        /* Init */
        lttng_consumer_init();
+       /* Init socket timeouts */
+       lttcomm_init();
+       lttcomm_inet_init();
 
        if (!getuid()) {
                /* Set limit for open files */
@@ -380,6 +383,9 @@ int main(int argc, char **argv)
        }
        ctx->type = opt_type;
 
+       /* Initialize communication library */
+       lttcomm_init();
+
        /* Create thread to manage channels */
        ret = pthread_create(&channel_thread, NULL, consumer_thread_channel_poll,
                        (void *) ctx);
This page took 0.026497 seconds and 4 git commands to generate.