r5420 - trunk/varnish-cache/lib/libvcl

phk at varnish-cache.org phk at varnish-cache.org
Mon Oct 11 13:49:22 CEST 2010


Author: phk
Date: 2010-10-11 13:49:21 +0200 (Mon, 11 Oct 2010)
New Revision: 5420

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_expr.c
Log:
Convert REAL to string as needed.



Modified: trunk/varnish-cache/lib/libvcl/vcc_expr.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_expr.c	2010-10-08 11:48:35 UTC (rev 5419)
+++ trunk/varnish-cache/lib/libvcl/vcc_expr.c	2010-10-11 11:49:21 UTC (rev 5420)
@@ -362,6 +362,7 @@
 	case INT:	p = "VRT_int_string(sp, \v1)"; break;
 	case IP:	p = "VRT_IP_string(sp, \v1)"; break;
 	case TIME:	p = "VRT_time_string(sp, \v1)"; break;
+	case REAL:	p = "VRT_double_string(sp, \v1)"; break;
 	case DURATION:	p = "VRT_double_string(sp, \v1)"; break;
 			/* XXX: should have "s" suffix ? */
 	default:	break;




More information about the varnish-commit mailing list