From 949b353cc616c4d81fd637caac50940aaf6e56f3 Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 27 Dec 2022 23:05:55 +0000 Subject: [PATCH] spelling fixes; from paul tagliamonte ok nicm --- lib/libevent/buffer.c | 4 ++-- lib/libevent/event.c | 8 ++++---- lib/libevent/kqueue.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/libevent/buffer.c b/lib/libevent/buffer.c index a8ed259f20c..a59a23f9f49 100644 --- a/lib/libevent/buffer.c +++ b/lib/libevent/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.32 2019/05/03 16:31:34 tobias Exp $ */ +/* $OpenBSD: buffer.c,v 1.33 2022/12/27 23:05:55 jmc Exp $ */ /* * Copyright (c) 2002, 2003 Niels Provos @@ -435,7 +435,7 @@ evbuffer_read(struct evbuffer *buf, int fd, int howmuch) * reading. We do not want to exhaust resources * before the reader has a chance to do something * about it. If the reader does not tell us how much - * data we should read, we artifically limit it. + * data we should read, we artificially limit it. */ if ((size_t)n > buf->totallen << 2) n = buf->totallen << 2; diff --git a/lib/libevent/event.c b/lib/libevent/event.c index 078ae04b7c1..26bc37dea76 100644 --- a/lib/libevent/event.c +++ b/lib/libevent/event.c @@ -1,4 +1,4 @@ -/* $OpenBSD: event.c,v 1.41 2019/05/01 19:14:25 jca Exp $ */ +/* $OpenBSD: event.c,v 1.42 2022/12/27 23:05:55 jmc Exp $ */ /* * Copyright (c) 2000-2004 Niels Provos @@ -338,7 +338,7 @@ event_process_active(struct event_base *base) } /* - * Wait continously for events. We exit only if no events are left. + * Wait continuously for events. We exit only if no events are left. */ int @@ -690,7 +690,7 @@ event_add(struct event *ev, const struct timeval *tv) } /* - * we should change the timout state only if the previous event + * we should change the timeout state only if the previous event * addition succeeded. */ if (res != -1 && tv != NULL) { @@ -698,7 +698,7 @@ event_add(struct event *ev, const struct timeval *tv) /* * we already reserved memory above for the case where we - * are not replacing an exisiting timeout. + * are not replacing an existing timeout. */ if (ev->ev_flags & EVLIST_TIMEOUT) event_queue_remove(base, ev, EVLIST_TIMEOUT); diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c index 3f348d711ba..f61da384376 100644 --- a/lib/libevent/kqueue.c +++ b/lib/libevent/kqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kqueue.c,v 1.41 2019/05/08 17:33:22 tobias Exp $ */ +/* $OpenBSD: kqueue.c,v 1.42 2022/12/27 23:05:55 jmc Exp $ */ /* * Copyright 2000-2002 Niels Provos @@ -91,7 +91,7 @@ kq_init(struct event_base *base) if (!(kqueueop = calloc(1, sizeof(struct kqop)))) return (NULL); - /* Initalize the kernel queue */ + /* Initialize the kernel queue */ if ((kq = kqueue()) == -1) { event_warn("kqueue"); @@ -103,7 +103,7 @@ kq_init(struct event_base *base) kqueueop->pid = getpid(); - /* Initalize fields */ + /* Initialize fields */ kqueueop->changes = calloc(NEVENT, sizeof(struct kevent)); if (kqueueop->changes == NULL) { free (kqueueop); -- 2.20.1