fix an oversight from the pool_task field to array change

spotted by flexelint

Ref a67a9d56
parent 3df0771d
...@@ -409,7 +409,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk) ...@@ -409,7 +409,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
break; break;
do { do {
memset(&wrk->task, 0, sizeof wrk->task); memset(wrk->task, 0, sizeof wrk->task);
assert(wrk->pool == pp); assert(wrk->pool == pp);
tp->func(wrk, tp->priv); tp->func(wrk, tp->priv);
if (DO_DEBUG(DBG_VCLREL) && wrk->vcl != NULL) if (DO_DEBUG(DBG_VCLREL) && wrk->vcl != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment