]> err.no Git - varnish/commitdiff
use strtod() instead of strtof()
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 23 Jul 2008 15:20:37 +0000 (15:20 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 23 Jul 2008 15:20:37 +0000 (15:20 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2997 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_http.c

index e96c105ab1eadea082e5d0c54b9e7beb673cae23..007ae0660dc8367446e1a2a95f33bd1bd92654db 100644 (file)
@@ -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;
 }
 
 /**********************************************************************