mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
MINOR: tasklet: Set process to NULL.
Some consumers expect the process to be NULL when a tasklet it created, so do so.
This commit is contained in:
parent
42d55b9b6a
commit
9ddaf794a8
@ -273,6 +273,7 @@ static inline void tasklet_init(struct tasklet *t)
|
|||||||
t->nice = -32768;
|
t->nice = -32768;
|
||||||
t->calls = 0;
|
t->calls = 0;
|
||||||
t->state = 0;
|
t->state = 0;
|
||||||
|
t->process = NULL;
|
||||||
LIST_INIT(&t->list);
|
LIST_INIT(&t->list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user