projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix incorrect parenthesis for poll test in consumer
[lttng-tools.git]
/
liblttng-consumer
/
lttng-consumer.c
diff --git
a/liblttng-consumer/lttng-consumer.c
b/liblttng-consumer/lttng-consumer.c
index 7644eac2cefccb7d223c8310c81f7289864f4461..de15dd3b72379276cd0d934e79f2435ef67dbb8a 100644
(file)
--- a/
liblttng-consumer/lttng-consumer.c
+++ b/
liblttng-consumer/lttng-consumer.c
@@
-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++;
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++;
DBG("Polling fd %d tells it has hung up.", pollfd[i].fd);
consumer_del_stream(local_stream[i]);
num_hup++;
This page took
0.023091 seconds
and
4
git commands to generate.