1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

lib573: do not compare double for exact match

This commit is contained in:
Tor Arntsen 2010-05-27 20:20:08 +02:00 committed by Kamil Dudka
parent 9190e2876e
commit eadeb5bd9a

View File

@ -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;
}