[master] 8a79da2 enable the vle32enc(), we need it for writing gzip trailers

Poul-Henning Kamp phk at project.varnish-software.com
Fri Jan 21 19:14:47 CET 2011


commit 8a79da2afedec7b42b06be94f2ea1001584cd6d8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Jan 21 17:39:06 2011 +0000

    enable the vle32enc(), we need it for writing gzip trailers

diff --git a/include/vend.h b/include/vend.h
index 15fcb70..01f0dfc 100644
--- a/include/vend.h
+++ b/include/vend.h
@@ -126,6 +126,7 @@ vle16enc(void *pp, uint16_t u)
 	p[0] = u & 0xff;
 	p[1] = (u >> 8) & 0xff;
 }
+#endif
 
 static __inline void
 vle32enc(void *pp, uint32_t u)
@@ -138,6 +139,7 @@ vle32enc(void *pp, uint32_t u)
 	p[3] = (u >> 24) & 0xff;
 }
 
+#if 0
 static __inline void
 vle64enc(void *pp, uint64_t u)
 {



More information about the varnish-commit mailing list