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
/
bin
/
lttng-sessiond
/
manage-apps.cpp
diff --git
a/src/bin/lttng-sessiond/manage-apps.cpp
b/src/bin/lttng-sessiond/manage-apps.cpp
index 7698ea442feff54e2bc8902334f70f93d8270b98..ea46f05277ca9aad79297afda111a2d1be461181 100644
(file)
--- a/
src/bin/lttng-sessiond/manage-apps.cpp
+++ b/
src/bin/lttng-sessiond/manage-apps.cpp
@@
-75,7
+75,7
@@
static void *thread_application_management(void *data)
goto error;
}
goto error;
}
- ret = lttng_poll_add(&events, thread_quit_pipe_fd, LPOLLIN
| LPOLLERR
);
+ ret = lttng_poll_add(&events, thread_quit_pipe_fd, LPOLLIN);
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
@@
-142,8
+142,7
@@
static void *thread_application_management(void *data)
* Since this is a command socket (write then read),
* we only monitor the error events of the socket.
*/
* Since this is a command socket (write then read),
* we only monitor the error events of the socket.
*/
- ret = lttng_poll_add(&events, sock,
- LPOLLERR | LPOLLHUP | LPOLLRDHUP);
+ ret = lttng_poll_add(&events, sock, LPOLLRDHUP);
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
This page took
0.028485 seconds
and
4
git commands to generate.