r2997 - trunk/varnish-cache/bin/varnishtest
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jul 23 17:20:37 CEST 2008
Author: phk
Date: 2008-07-23 17:20:37 +0200 (Wed, 23 Jul 2008)
New Revision: 2997
Modified:
trunk/varnish-cache/bin/varnishtest/vtc_http.c
Log:
use strtod() instead of strtof()
Modified: trunk/varnish-cache/bin/varnishtest/vtc_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_http.c 2008-07-23 15:19:38 UTC (rev 2996)
+++ trunk/varnish-cache/bin/varnishtest/vtc_http.c 2008-07-23 15:20:37 UTC (rev 2997)
@@ -589,7 +589,7 @@
CAST_OBJ_NOTNULL(hp, priv, HTTP_MAGIC);
AN(av[1]);
AZ(av[2]);
- hp->timeout = strtof(av[1], NULL) * 1000.0;
+ hp->timeout = strtod(av[1], NULL) * 1000.0;
}
/**********************************************************************
More information about the varnish-commit
mailing list