mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02:00
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:
parent
b8888ab557
commit
94a01e1cb7
@ -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
|
* This intends to be used when checking HTTP headers for some
|
||||||
* word=value directive. Return a pointer to the first character of value, if
|
* 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)
|
char *directive_value(const char *sample, int slen, const char *word, int wlen)
|
||||||
{
|
{
|
||||||
|
@ -132,7 +132,7 @@ static void _do_poll(struct poller *p, int exp, int wake)
|
|||||||
break;
|
break;
|
||||||
if (fdtab[fd].update_mask & tid_bit) {
|
if (fdtab[fd].update_mask & tid_bit) {
|
||||||
/* Cheat a bit, as the state is global to all pollers
|
/* 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.
|
* update.
|
||||||
*/
|
*/
|
||||||
_HA_ATOMIC_AND(&fdtab[fd].update_mask, ~all_threads_mask);
|
_HA_ATOMIC_AND(&fdtab[fd].update_mask, ~all_threads_mask);
|
||||||
|
@ -123,7 +123,7 @@ static void _do_poll(struct poller *p, int exp, int wake)
|
|||||||
break;
|
break;
|
||||||
if (fdtab[fd].update_mask & tid_bit) {
|
if (fdtab[fd].update_mask & tid_bit) {
|
||||||
/* Cheat a bit, as the state is global to all pollers
|
/* 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.
|
* update.
|
||||||
*/
|
*/
|
||||||
_HA_ATOMIC_AND(&fdtab[fd].update_mask, ~all_threads_mask);
|
_HA_ATOMIC_AND(&fdtab[fd].update_mask, ~all_threads_mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user