]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: few extra typo and fixes over last one ("ot" -> "to")
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jan 2021 16:35:12 +0000 (17:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Jan 2021 16:35:52 +0000 (17:35 +0100)
As noticed by Tim there were a few incorrect fixes in the previous patch
("ot" -> "to" and not "or").

src/cache.c
src/ev_poll.c
src/ev_select.c

index 9267f5c64af3773034bb5e1dfb52f3ec009e26f8..7f6955afcfa28f0fc8c68568185bf856e5e56f56 100644 (file)
@@ -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)
 {
index f86be7691c0d9bb55edc730a9b57df7baf69b783..17f7338929659bd895961ae107291c2443a5c47b 100644 (file)
@@ -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);
index dd0b762de362b17c2497b35ebdb69319cc78d1ff..3e42f72ef85488ef2d92824923376959f169204c 100644 (file)
@@ -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);