From: David Goulet Date: Mon, 17 Dec 2012 16:30:24 +0000 (-0500) Subject: Fix: add missing pollset reset in relayd listener thread X-Git-Tag: v2.1.0~40 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d9c175ed69050fefd87aa45c0d7e8be02b83f56c;p=lttng-tools.git Fix: add missing pollset reset in relayd listener thread Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 71753c03d..204207d21 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -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: