summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-12-20 13:31:29 -0500
committerNick Mathewson <nickm@torproject.org>2013-12-20 13:35:03 -0500
commit8cd695bf6dbe891c0e23589ca691891e5b76083d (patch)
tree28be915b48c66de151fadb141de4ee80e049b1ee /include
parent031a803071ee10547089c3962ce99423ed338b14 (diff)
downloadlibevent-8cd695bf6dbe891c0e23589ca691891e5b76083d.tar.gz
Typo fixes from Linus Nordberg
Diffstat (limited to 'include')
-rw-r--r--include/event2/bufferevent.h6
-rw-r--r--include/event2/event.h2
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