From 94a01e1cb7352894307f79b089fe7f9818e75a0c Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 6 Jan 2021 17:35:12 +0100 Subject: [PATCH] CLEANUP: few extra typo and fixes over last one ("ot" -> "to") As noticed by Tim there were a few incorrect fixes in the previous patch ("ot" -> "to" and not "or"). --- src/cache.c | 2 +- src/ev_poll.c | 2 +- src/ev_select.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cache.c b/src/cache.c index 9267f5c64..7f6955afc 100644 --- a/src/cache.c +++ b/src/cache.c @@ -713,7 +713,7 @@ cache_store_http_end(struct stream *s, struct filter *filter, /* * This intends to be used when checking HTTP headers for some * word=value directive. Return a pointer to the first character of value, if - * the word was not found or if there wasn't any value assigned or it return NULL + * the word was not found or if there wasn't any value assigned to it return NULL */ char *directive_value(const char *sample, int slen, const char *word, int wlen) { diff --git a/src/ev_poll.c b/src/ev_poll.c index f86be7691..17f733892 100644 --- a/src/ev_poll.c +++ b/src/ev_poll.c @@ -132,7 +132,7 @@ static void _do_poll(struct poller *p, int exp, int wake) break; if (fdtab[fd].update_mask & tid_bit) { /* Cheat a bit, as the state is global to all pollers - * we don't need every thread or take care of the + * we don't need every thread to take care of the * update. */ _HA_ATOMIC_AND(&fdtab[fd].update_mask, ~all_threads_mask); diff --git a/src/ev_select.c b/src/ev_select.c index dd0b762de..3e42f72ef 100644 --- a/src/ev_select.c +++ b/src/ev_select.c @@ -123,7 +123,7 @@ static void _do_poll(struct poller *p, int exp, int wake) break; if (fdtab[fd].update_mask & tid_bit) { /* Cheat a bit, as the state is global to all pollers - * we don't need every thread or take care of the + * we don't need every thread to take care of the * update. */ _HA_ATOMIC_AND(&fdtab[fd].update_mask, ~all_threads_mask);