From b4afb2014f6011db3acefe1669cb6db453de6b4f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 28 Mar 2022 15:44:21 +1000 Subject: [PATCH] Correct two comments regarding active vs passive context --- src/libei.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/libei.h b/src/libei.h index d18fa97..a7ac330 100644 --- a/src/libei.h +++ b/src/libei.h @@ -340,9 +340,7 @@ ei_new(void *user_data); * released with ei_unref(). * * An active ei context sends events to the EIS implementation but cannot - * receive events. An active ei context can only connect to a passive EIS - * implementation, connecting to an active EIS implementation will immediately - * disconnect the client. + * receive events. * * A context supports exactly one backend, set up with one of * ei_setup_backend_socket() or ei_setup_backend_fd(). @@ -362,9 +360,7 @@ ei_new_active(void *user_data); * released with ei_unref(). * * A passive ei context receives events from the EIS implementation but cannot - * send events. A passive ei context can only connect to an active EIS - * implementation, connecting to a passive EIS implementation will immediately - * disconnect the client. + * send events. * * A context supports exactly one backend, set up with one of * ei_setup_backend_socket() or ei_setup_backend_fd().