Cleanup: remove ignored flags from poll events bitmasks
[lttng-tools.git] / src / bin / lttng-sessiond / manage-apps.cpp
index 7698ea442feff54e2bc8902334f70f93d8270b98..ea46f05277ca9aad79297afda111a2d1be461181 100644 (file)
@@ -75,7 +75,7 @@ static void *thread_application_management(void *data)
                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;
        }
@@ -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.
                                         */
-                                       ret = lttng_poll_add(&events, sock,
-                                                       LPOLLERR | LPOLLHUP | LPOLLRDHUP);
+                                       ret = lttng_poll_add(&events, sock, LPOLLRDHUP);
                                        if (ret < 0) {
                                                goto error;
                                        }
This page took 0.023643 seconds and 4 git commands to generate.