projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove ignored flags from poll events bitmasks
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
channel.cpp
diff --git
a/src/lib/lttng-ctl/channel.cpp
b/src/lib/lttng-ctl/channel.cpp
index 3613f1b1cde5e1912edead013894811660d4c5a7..aee38f58bfa41bafebd5fce22c5d26d12c590a6f 100644
(file)
--- a/
src/lib/lttng-ctl/channel.cpp
+++ b/
src/lib/lttng-ctl/channel.cpp
@@
-268,7
+268,7
@@
lttng_notification_channel_get_next_notification(
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_unlock;
}
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_unlock;
}
- ret = lttng_poll_add(&events, channel->socket, LPOLLIN
| LPOLLERR
);
+ ret = lttng_poll_add(&events, channel->socket, LPOLLIN);
if (ret < 0) {
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_clean_poll;
if (ret < 0) {
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_clean_poll;
@@
-448,7
+448,7
@@
lttng_notification_channel_has_pending_notification(
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_unlock;
}
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_unlock;
}
- ret = lttng_poll_add(&events, channel->socket, LPOLLIN
| LPOLLERR
);
+ ret = lttng_poll_add(&events, channel->socket, LPOLLIN);
if (ret < 0) {
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_clean_poll;
if (ret < 0) {
status = LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR;
goto end_clean_poll;
This page took
0.025734 seconds
and
4
git commands to generate.