]> err.no Git - varnish/commitdiff
typo
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 26 Jun 2006 16:30:56 +0000 (16:30 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 26 Jun 2006 16:30:56 +0000 (16:30 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@237 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_hash.c

index 389d7eef05cdb31a13625d4e578ed02c3417354b..620dc661fa2da255bc04d60f2d9e4688905caec8 100644 (file)
@@ -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);