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").
This commit is contained in:
Willy Tarreau 2021-01-06 17:35:12 +01:00
parent b8888ab557
commit 94a01e1cb7
3 changed files with 3 additions and 3 deletions

View 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)
{

View 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);

View 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);