summaryrefslogtreecommitdiff
path: root/tests/libtest/libntlmconnect.c
diff options
context:
space:
mode:
authorJoe Mason <jmason@rim.com>2012-08-31 19:11:17 -0400
committerDaniel Stenberg <daniel@haxx.se>2012-09-01 20:21:30 +0200
commit40153716a31b6cf4e2d3abd27e986724472b4599 (patch)
treea955ddc0cb2adf8e173650e01ef8d980ea4cf0f4 /tests/libtest/libntlmconnect.c
parent7735141e73a56810daf4b0727fb932f69386ce45 (diff)
downloadgnurl-40153716a31b6cf4e2d3abd27e986724472b4599.tar.gz
gnurl-40153716a31b6cf4e2d3abd27e986724472b4599.tar.bz2
gnurl-40153716a31b6cf4e2d3abd27e986724472b4599.zip
Use MAX_EASY_HANDLES instead of hardcoding the number of handles twice
Diffstat (limited to 'tests/libtest/libntlmconnect.c')
-rw-r--r--tests/libtest/libntlmconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c
index 0ef8fc03f..2450e8187 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;
}
}