Skip to content

Commit

Permalink
lib573: do not compare double for exact match
Browse files Browse the repository at this point in the history
  • Loading branch information
Tor Arntsen authored and kdudka committed May 27, 2010
1 parent 9190e28 commit eadeb5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/libtest/lib573.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit eadeb5b

Please sign in to comment.