Commit d223152d authored by Tollef Fog Heen's avatar Tollef Fog Heen

Drop isfinite for integer conversion

Checking for isfinite does not make any sense for an integer
conversion and causes compilation problems on Solaris.

Fixes: #931
parent a39be7ab
......@@ -109,9 +109,6 @@ vmod_integer(struct sess *sp, const char *p, int i)
r = strtol(p, &e, 0);
if (!isfinite(r))
return (i);
if (e == NULL)
return (i);
......
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