From: phk Date: Wed, 23 Jul 2008 15:20:37 +0000 (+0000) Subject: use strtod() instead of strtof() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b684fc39cfa9a573a0f9f9c5abd54acf484edc95;p=varnish use strtod() instead of strtof() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2997 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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; } /**********************************************************************