From 864154cca1271f679d6bfa271b7a66bc789994fd Mon Sep 17 00:00:00 2001
From: Joe Mason <jmason@rim.com>
Date: Fri, 31 Aug 2012 19:11:17 -0400
Subject: [PATCH] Use MAX_EASY_HANDLES instead of hardcoding the number of
 handles twice

---
 tests/libtest/libntlmconnect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c
index 0ef8fc0..2450e81 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;
       }
     }
-- 
1.7.5.4

