r970 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Sep 12 11:38:29 CEST 2006


Author: phk
Date: 2006-09-12 11:38:28 +0200 (Tue, 12 Sep 2006)
New Revision: 970

Modified:
   trunk/varnish-cache/bin/varnishd/cache.h
   trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
fix typo


Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h	2006-09-11 23:30:07 UTC (rev 969)
+++ trunk/varnish-cache/bin/varnishd/cache.h	2006-09-12 09:38:28 UTC (rev 970)
@@ -451,7 +451,7 @@
 		AZ(pthread_mutex_lock(foo)); 		\
 	} else {					\
 		VSL(SLT_Debug, 0,			\
-		    "MTXLOCK(%s,%s,%d," #foo ")",		\
+		    "MTX_LOCK(%s,%s,%d," #foo ")",		\
 		    __func__, __FILE__, __LINE__); 	\
 	}						\
 } while (0);

Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-09-11 23:30:07 UTC (rev 969)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-09-12 09:38:28 UTC (rev 970)
@@ -271,7 +271,7 @@
 		w = TAILQ_LAST(&wrk_idle, workerhead);
 		if (w != NULL &&
 		   (w->idle + params->wthread_timeout < now ||
-		    VSL_stats->n_wrk <= params->wthread_max)
+		    VSL_stats->n_wrk <= params->wthread_max))
 			TAILQ_REMOVE(&wrk_idle, w, list);
 		else 
 			w = NULL;




More information about the varnish-commit mailing list