r237 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Jun 26 18:30:56 CEST 2006


Author: phk
Date: 2006-06-26 18:30:56 +0200 (Mon, 26 Jun 2006)
New Revision: 237

Modified:
   trunk/varnish-cache/bin/varnishd/cache_hash.c
Log:
typo


Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c	2006-06-26 16:19:14 UTC (rev 236)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c	2006-06-26 16:30:56 UTC (rev 237)
@@ -29,7 +29,7 @@
 		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);




More information about the varnish-commit mailing list