aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/libtest/lib573.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib573.c b/tests/libtest/lib573.c
index db5889e34..5edb1814a 100644
--- a/tests/libtest/lib573.c
+++ b/tests/libtest/lib573.c
@@ -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;
}