mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
lib573: do not compare double for exact match
This commit is contained in:
parent
9190e2876e
commit
eadeb5bd9a
@ -83,8 +83,8 @@ int test(char *URL)
|
|||||||
}
|
}
|
||||||
|
|
||||||
curl_easy_getinfo(c, CURLINFO_CONNECT_TIME, &connect_time);
|
curl_easy_getinfo(c, CURLINFO_CONNECT_TIME, &connect_time);
|
||||||
if (connect_time==0.0) {
|
if (connect_time <= 0.0) {
|
||||||
fprintf(stderr, "connect time is 0.0\n");
|
fprintf(stderr, "connect time is <=0.0\n");
|
||||||
res = TEST_ERR_MAJOR_BAD;
|
res = TEST_ERR_MAJOR_BAD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user