Commit a3592876 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Properly zero the worker structure when we start a thread.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@496 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent db889c90
......@@ -34,7 +34,7 @@ wrk_thread(void *priv)
struct timespec ts;
w = &ww;
memset(w, 0, sizeof w);
memset(w, 0, sizeof *w);
AZ(pthread_cond_init(&w->cv, 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