r1406 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Fri May 11 13:06:03 CEST 2007


Author: des
Date: 2007-05-11 13:06:03 +0200 (Fri, 11 May 2007)
New Revision: 1406

Modified:
   trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Comment out comparisons which are always true (unsigned >= 0)


Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c	2007-05-11 08:20:17 UTC (rev 1405)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c	2007-05-11 11:06:03 UTC (rev 1406)
@@ -81,8 +81,8 @@
 {
 
 	CHECK_OBJ_NOTNULL(hp, HTTP_MAGIC);
-	assert(hp->logtag >= HTTP_Rx && hp->logtag <= HTTP_Obj);
-	assert(t >= HTTP_T_Request && t <= HTTP_T_LostHeader);
+	assert(/* hp->logtag >= HTTP_Rx && */hp->logtag <= HTTP_Obj);
+	assert(/* t >= HTTP_T_Request && */t <= HTTP_T_LostHeader);
 	return (logmtx[hp->logtag][t]);
 }
 




More information about the varnish-commit mailing list