r2180 - trunk/varnish-cache/lib/libvarnishapi

Dag-Erling Smørgrav des at linpro.no
Mon Oct 29 15:43:04 CET 2007


phk at projects.linpro.no writes:
> Log:
> Mask negative characters to 8 bit before formatting.

A cast would be more appropriate...  and we should probably use
isprint() instead of hardcoding (*ptr >= ' ' && *ptr <= '~').

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-commit mailing list