diff --git a/src/sample.c b/src/sample.c index 62259ef3e..f1cfad4f3 100644 --- a/src/sample.c +++ b/src/sample.c @@ -50,7 +50,7 @@ const char *smp_to_type[SMP_TYPES] = { }; /* static sample used in sample_process() when
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 = {