[master] ea5917c60 fix an oversight from the pool_task field to array change
Nils Goroll
nils.goroll at uplex.de
Sat Apr 4 13:12:08 UTC 2020
commit ea5917c601b97f64c31f2595bf74a5f1ef3e18fd
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sat Apr 4 15:05:42 2020 +0200
fix an oversight from the pool_task field to array change
spotted by flexelint
Ref a67a9d5606210245dd0c51966698dcd07206c91e
diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index 54e962cd7..13a7cb8ac 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -409,7 +409,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
break;
do {
- memset(&wrk->task, 0, sizeof wrk->task);
+ memset(wrk->task, 0, sizeof wrk->task);
assert(wrk->pool == pp);
tp->func(wrk, tp->priv);
if (DO_DEBUG(DBG_VCLREL) && wrk->vcl != NULL)
More information about the varnish-commit
mailing list