mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MINOR: threads/sample: Change temp_smp into a thread local variable
This commit is contained in:
parent
819fc6f563
commit
e5c918bcef
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ const char *smp_to_type[SMP_TYPES] = {
|
|||
};
|
||||
|
||||
/* static sample used in sample_process() when <p> is NULL */
|
||||
static struct sample temp_smp;
|
||||
static THREAD_LOCAL struct sample temp_smp;
|
||||
|
||||
/* list head of all known sample fetch keywords */
|
||||
static struct sample_fetch_kw_list sample_fetches = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue