]> git.lttng.org Git - lttng-tools.git/commitdiff
Fix: add missing pollset reset in relayd listener thread
authorDavid Goulet <dgoulet@efficios.com>
Mon, 17 Dec 2012 16:30:24 +0000 (11:30 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 17 Dec 2012 16:30:24 +0000 (11:30 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/main.c

index 71753c03d4070888236ebcbca9ff59e7ed9a7013..204207d21822bba38e9feb41fe7f64eadfd4ca96 100644 (file)
@@ -514,6 +514,9 @@ void *relay_thread_listener(void *data)
        while (1) {
                DBG("Listener accepting connections");
 
+               /* Zeroed the events structure */
+               lttng_poll_reset(&events);
+
                nb_fd = LTTNG_POLL_GETNB(&events);
 
 restart:
This page took 0.032308 seconds and 4 git commands to generate.