Commit 8b9e87f9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

use strtod() instead of strtof()



git-svn-id: http://www.varnish-cache.org/svn/trunk@2997 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7c923d3c
......@@ -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;
}
/**********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment