Fix incorrect parenthesis for poll test in consumer
[lttng-tools.git] / liblttng-consumer / lttng-consumer.c
index 7644eac2cefccb7d223c8310c81f7289864f4461..de15dd3b72379276cd0d934e79f2435ef67dbb8a 100644 (file)
@@ -845,8 +845,8 @@ void *lttng_consumer_thread_poll_fds(void *data)
                                ERR("Polling fd %d tells fd is not open.", pollfd[i].fd);
                                consumer_del_stream(local_stream[i]);
                                num_hup++;
-                       } else if ((pollfd[i].revents & POLLHUP &&
-                                       !(pollfd[i].revents & POLLIN))) {
+                       } else if ((pollfd[i].revents & POLLHUP) &&
+                                       !(pollfd[i].revents & POLLIN)) {
                                DBG("Polling fd %d tells it has hung up.", pollfd[i].fd);
                                consumer_del_stream(local_stream[i]);
                                num_hup++;
This page took 0.023105 seconds and 4 git commands to generate.