X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=74a9b0ad2095216f8d11b6836a91305dba795300;hb=3654a23ff4d32ecb2b70142dcfd0328df2fe73fb;hp=f81de8d556a66149c75e59193c50a7d2c96741bd;hpb=c1e57b6809e7eee904ed0254027f507be49ce21d;p=lttng-tools.git 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; }