From: phk Date: Mon, 26 Jun 2006 16:30:56 +0000 (+0000) Subject: typo X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af94402db771a0c6eca238e153593443d29ee7e3;p=varnish typo git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@237 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_hash.c b/varnish-cache/bin/varnishd/cache_hash.c index 389d7eef..620dc661 100644 --- a/varnish-cache/bin/varnishd/cache_hash.c +++ b/varnish-cache/bin/varnishd/cache_hash.c @@ -29,7 +29,7 @@ HSH_Lookup(struct worker *w, struct http *h) w->nobjhead = calloc(sizeof *w->nobjhead, 1); assert(w->nobjhead != NULL); TAILQ_INIT(&w->nobjhead->objects); - AZ(pthread_mutex_init(&oh->mtx, NULL)); + AZ(pthread_mutex_init(&w->nobjhead->mtx, NULL)); } if (w->nobj == NULL) { w->nobj = calloc(sizeof *w->nobj, 1);