Skip to content
Snippets Groups Projects
Commit eadeb5bd authored by Tor Arntsen's avatar Tor Arntsen Committed by Kamil Dudka
Browse files

lib573: do not compare double for exact match

parent 9190e287
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,8 @@ int test(char *URL)
}
curl_easy_getinfo(c, CURLINFO_CONNECT_TIME, &connect_time);
if (connect_time==0.0) {
fprintf(stderr, "connect time is 0.0\n");
if (connect_time <= 0.0) {
fprintf(stderr, "connect time is <=0.0\n");
res = TEST_ERR_MAJOR_BAD;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment