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, 4 Feb 2014 20:03:21 +0000 (15:03 -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 e05a4b150f1b3b852cec82e5e6292de5a83796c5..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 */
This page took 0.025447 seconds and 4 git commands to generate.