Fix: consumerd should initialize lttcomm
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jan 2014 03:08:27 +0000 (22:08 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 28 Jan 2014 21:19:41 +0000 (16:19 -0500)
Missing initialization makes the consumer daemon not care about the
env. var. specifying the timeouts.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c

index 04adb973c76a198acd06fa7dc000ead230cca61c..2b5528d64cc4385866761e8df7cdef5f3a5dba8d 100644 (file)
@@ -340,6 +340,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 */
This page took 0.026225 seconds and 4 git commands to generate.