r2345 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jan 16 11:08:34 CET 2008
Author: phk
Date: 2008-01-16 11:08:34 +0100 (Wed, 16 Jan 2008)
New Revision: 2345
Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Fix ticket #179: non-ascii reason-phrase.
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-01-14 10:42:56 UTC (rev 2344)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-01-16 10:08:34 UTC (rev 2345)
@@ -64,7 +64,7 @@
[' '] = C_SP,
};
-#define vctyp(x, y) (vctyptab[(int)(x)] & (y))
+#define vctyp(x, y) (vctyptab[(unsigned)(x) & 0xff] & (y))
#define LOGMTX2(ax, bx, cx) [bx] = SLT_##ax##cx
More information about the varnish-commit
mailing list