]> granicus.if.org Git - curl/commitdiff
Use MAX_EASY_HANDLES instead of hardcoding the number of handles twice
authorJoe Mason <jmason@rim.com>
Fri, 31 Aug 2012 23:11:17 +0000 (19:11 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 1 Sep 2012 18:21:30 +0000 (20:21 +0200)
tests/libtest/libntlmconnect.c

index 0ef8fc03f65a72573a7ae4bcebc5f8a3642c011b..2450e8187761e888b8b50d3ce14a760a5c9f3b57 100644 (file)
@@ -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;
       }
     }