X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=74a9b0ad2095216f8d11b6836a91305dba795300;hp=f81de8d556a66149c75e59193c50a7d2c96741bd;hb=9354f2497de36d21ca5d78416041cff22517b35b;hpb=1ccfc0e3afa3de78f5b1cfda99869bb5e393ace6 diff --git a/src/common/consumer.c b/src/common/consumer.c index f81de8d55..74a9b0ad2 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -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; }