Correct two comments regarding active vs passive context

This commit is contained in:
Peter Hutterer 2022-03-28 15:44:21 +10:00
parent 3dbd278529
commit b4afb2014f

View file

@ -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().