summaryrefslogtreecommitdiffstats
path: root/lib/libevent/buffer.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2006-12-21 02:28:47 +0000
committerkrw <krw@openbsd.org>2006-12-21 02:28:47 +0000
commit84d3ec931e5b5b37848c4885633dd69099f911fe (patch)
tree9660937405b53f9ccff6a963e407ad533a95968f /lib/libevent/buffer.c
parentFix some comment typos. 'immediatly' -> 'immediately', 'tranfer' -> (diff)
downloadwireguard-openbsd-84d3ec931e5b5b37848c4885633dd69099f911fe.tar.xz
wireguard-openbsd-84d3ec931e5b5b37848c4885633dd69099f911fe.zip
'tranfer' -> 'transfer' in comments.
Diffstat (limited to 'lib/libevent/buffer.c')
-rw-r--r--lib/libevent/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libevent/buffer.c b/lib/libevent/buffer.c
index a258b369d68..4a1ac9f7a29 100644
--- a/lib/libevent/buffer.c
+++ b/lib/libevent/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.11 2006/11/26 15:25:14 brad Exp $ */
+/* $OpenBSD: buffer.c,v 1.12 2006/12/21 02:28:47 krw Exp $ */
/*
* Copyright (c) 2002, 2003 Niels Provos <provos@citi.umich.edu>
@@ -108,7 +108,7 @@ evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf)
/*
* Optimization comes with a price; we need to notify the
* buffer if necessary of the changes. oldoff is the amount
- * of data that we tranfered from inbuf to outbuf
+ * of data that we transferred from inbuf to outbuf
*/
if (inbuf->off != oldoff && inbuf->cb != NULL)
(*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg);