aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib536.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-10 23:58:02 +0000
committerYang Tse <yangsita@gmail.com>2006-10-10 23:58:02 +0000
commit943f0733bb187dfacdfdc23806ab030cee97c9fc (patch)
treee5f653e90c24c0e202f786fed24f610f433feada /tests/libtest/lib536.c
parent8274447dd9ad74bf179973679250175f29b174e9 (diff)
Compiler warning fix
Diffstat (limited to 'tests/libtest/lib536.c')
-rw-r--r--tests/libtest/lib536.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib536.c b/tests/libtest/lib536.c
index a1099fe62..40b45e47d 100644
--- a/tests/libtest/lib536.c
+++ b/tests/libtest/lib536.c
@@ -41,9 +41,9 @@ static CURLMcode perform(CURLM * multi)
FD_ZERO(&fdexcep);
curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd);
if (maxfd < 0)
- return -1;
+ return (CURLMcode) ~CURLM_OK;
if (select(maxfd + 1, &fdread, &fdwrite, &fdexcep, 0) == -1)
- return -1;
+ return (CURLMcode) ~CURLM_OK;
}
}