Cleanup: remove ignored flags from poll events bitmasks
[lttng-tools.git] / src / lib / lttng-ctl / clear.cpp
index b205ac8f2b8af75e8584d5ba3b378f9c9f2562c9..870935bd3280d527ace8d40444d43ea5d3864eb3 100644 (file)
@@ -77,7 +77,7 @@ struct lttng_clear_handle *lttng_clear_handle_create(int sessiond_socket)
        }
 
        ret = lttng_poll_add(&handle->communication.events, sessiond_socket,
        }
 
        ret = lttng_poll_add(&handle->communication.events, sessiond_socket,
-                       LPOLLIN | LPOLLHUP | LPOLLRDHUP | LPOLLERR);
+                       LPOLLIN | LPOLLRDHUP);
        if (ret) {
                goto error;
        }
        if (ret) {
                goto error;
        }
This page took 0.023342 seconds and 4 git commands to generate.