[master] 39921cd Remove the diagnostic macro, we don't use it.
Poul-Henning Kamp
phk at varnish-cache.org
Tue Oct 8 08:58:04 CEST 2013
commit 39921cd7e8ab8495e7cf0eefb5d3455689c33f93
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Oct 8 06:57:45 2013 +0000
Remove the diagnostic macro, we don't use it.
diff --git a/bin/varnishd/cache/cache_http.c b/bin/varnishd/cache/cache_http.c
index f9d0372..b6f3916 100644
--- a/bin/varnishd/cache/cache_http.c
+++ b/bin/varnishd/cache/cache_http.c
@@ -261,7 +261,7 @@ http_GetHdr(const struct http *hp, const char *hdr, char **ptr)
char *p;
l = hdr[0];
- diagnostic(l == strlen(hdr + 1));
+ assert(l == strlen(hdr + 1));
assert(hdr[l] == ':');
hdr++;
u = http_findhdr(hp, l - 1, hdr);
More information about the varnish-commit
mailing list