diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-12-20 13:31:29 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-12-20 13:35:03 -0500 |
commit | 8cd695bf6dbe891c0e23589ca691891e5b76083d (patch) | |
tree | 28be915b48c66de151fadb141de4ee80e049b1ee | |
parent | 031a803071ee10547089c3962ce99423ed338b14 (diff) | |
download | libevent-8cd695bf6dbe891c0e23589ca691891e5b76083d.tar.gz |
Typo fixes from Linus Nordberg
-rw-r--r-- | include/event2/bufferevent.h | 6 | ||||
-rw-r--r-- | include/event2/event.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/event2/bufferevent.h b/include/event2/bufferevent.h index 7ce4e8f8..0cc6cb1c 100644 --- a/include/event2/bufferevent.h +++ b/include/event2/bufferevent.h @@ -44,10 +44,10 @@ with bufferevent_enable() and bufferevent_disable(). When reading is enabled, the bufferevent will try to read from the - file descriptor onto its input buffer, and and call the read callback. + file descriptor onto its input buffer, and call the read callback. When writing is enabled, the bufferevent will try to write data onto its - file descriptor when writing is enabled, and call the write callback - when the output buffer is sufficiently drained. + file descriptor when the output buffer has enough data, and call the write + callback when the output buffer is sufficiently drained. Bufferevents come in several flavors, including: diff --git a/include/event2/event.h b/include/event2/event.h index 677471fe..b75f61d2 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -646,7 +646,7 @@ int event_base_set(struct event_base *, struct event *); By default, this loop will run the event base until either there are no more pending or active, or until something calls event_base_loopbreak() or - evenet_base_loopexit(). You can override this behavior with the 'flags' + event_base_loopexit(). You can override this behavior with the 'flags' argument. @param eb the event_base structure returned by event_base_new() or |