[3.0] ec52648 Stop printing to stdout on ESI parse warnings

Tollef Fog Heen tfheen at varnish-cache.org
Mon Jul 22 13:28:31 CEST 2013


commit ec52648a2b9e28cf226555f11b6dccc8aa847c82
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Mon Jul 22 13:25:38 2013 +0200

    Stop printing to stdout on ESI parse warnings
    
    This looks like a bit of forgotten debugging, left by mistake.

diff --git a/bin/varnishd/cache_esi_parse.c b/bin/varnishd/cache_esi_parse.c
index ae45008..211a93a 100644
--- a/bin/varnishd/cache_esi_parse.c
+++ b/bin/varnishd/cache_esi_parse.c
@@ -201,7 +201,6 @@ vep_warn(const struct vep_state *vep, const char *p)
 
 	VSC_C_main->esi_warnings++;
 	l = (intmax_t)(vep->ver_p - vep->hack_p);
-	printf("WARNING at %jd %s\n", l, p);
 	WSP(vep->sp, SLT_ESI_xmlerror, "WARN at %jd %s", l, p);
 
 }



More information about the varnish-commit mailing list