From b684fc39cfa9a573a0f9f9c5abd54acf484edc95 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 23 Jul 2008 15:20:37 +0000 Subject: [PATCH] use strtod() instead of strtof() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2997 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/vtc_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishtest/vtc_http.c b/varnish-cache/bin/varnishtest/vtc_http.c index e96c105a..007ae066 100644 --- a/varnish-cache/bin/varnishtest/vtc_http.c +++ b/varnish-cache/bin/varnishtest/vtc_http.c @@ -589,7 +589,7 @@ cmd_http_timeout(CMD_ARGS) 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; } /********************************************************************** -- 2.39.5