summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-06-13 04:58:50 +0800
committerGitHub <noreply@github.com>2022-06-12 23:58:50 +0300
commit1c204d55640170b77ed2f7e8cc07f9417e1844cc (patch)
treefe77c6c3787bea10822a1461edf5308741b08fe0 /buffer.c
parent41239c9dac70ed90187fb287f214e1b106f52c83 (diff)
downloadlibevent-1c204d55640170b77ed2f7e8cc07f9417e1844cc.tar.gz
Fix some typos (#1284)
Signed-off-by: cuishuang <imcusg@gmail.com>
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 6c96f054..fcbcba3c 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1668,7 +1668,7 @@ evbuffer_search_eol(struct evbuffer *buffer,
if (evbuffer_strchr(&it, '\n') < 0)
goto done;
extra_drain = 1;
- /* ... optionally preceeded by a CR. */
+ /* ... optionally preceded by a CR. */
if (it.pos == start_pos)
break; /* If the first character is \n, don't back up */
/* This potentially does an extra linear walk over the first