]> granicus.if.org Git - libevent/commitdiff
doc: adjust edge-trigger notice on event_new()
authorEmil Engler <me@emilengler.com>
Fri, 2 Apr 2021 18:59:55 +0000 (20:59 +0200)
committerEmil Engler <me@emilengler.com>
Fri, 2 Apr 2021 18:59:55 +0000 (20:59 +0200)
This makes it easier to read and to understand it in my opinon. It also
fixes a missing "-" character.

include/event2/event.h

index 85df418a8d1501241b3dc724e79d763fd06c9315..e7513e54493dc83f7f00ac98840c6198148a909f 100644 (file)
@@ -1078,7 +1078,7 @@ void *event_self_cbarg(void);
   The EV_TIMEOUT flag has no effect here.
 
   It is okay to have multiple events all listening on the same fds; but
-  they must either all be edge-triggered, or all not be edge triggered.
+  they must either all be edge-triggered, or not be edge-triggered at all.
 
   When the event becomes active, the event loop will run the provided
   callback function, with three arguments.  The first will be the provided