From: Joe Mason Date: Fri, 31 Aug 2012 23:11:17 +0000 (-0400) Subject: Use MAX_EASY_HANDLES instead of hardcoding the number of handles twice X-Git-Tag: curl-7_28_0~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40153716a31b6cf4e2d3abd27e986724472b4599;p=thirdparty%2Fcurl.git Use MAX_EASY_HANDLES instead of hardcoding the number of handles twice --- diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c index 0ef8fc03f6..2450e81877 100644 --- a/tests/libtest/libntlmconnect.c +++ b/tests/libtest/libntlmconnect.c @@ -221,7 +221,7 @@ int test(char *url) /* if there's no timeout and we get here on the last handle, we may already have read the last part of the stream so waiting makes no sense */ - if(num_handles == 3) { + if(num_handles == MAX_EASY_HANDLES) { break; } }