Fix consumer lttng_consumer_poll_socket poll revents check bug
[lttng-tools.git] / src / common / consumer.c
index f81de8d556a66149c75e59193c50a7d2c96741bd..74a9b0ad2095216f8d11b6836a91305dba795300 100644 (file)
@@ -562,7 +562,7 @@ restart:
                perror("Poll error");
                goto exit;
        }
-       if (consumer_sockpoll[0].revents == POLLIN) {
+       if (consumer_sockpoll[0].revents & POLLIN) {
                DBG("consumer_should_quit wake up");
                goto exit;
        }
This page took 0.023162 seconds and 4 git commands to generate.