> From: curl-library [[email protected]] on behalf of Daniel 
> Stenberg [[email protected]]
>
> Thanks a lot. I had to do a very minor tweak to make it run properly for me,
> but once I did it everything seemed fine so I've now merged and pushed this
> series. Please take it on a spin and see that I didn't destroy it for you now
> instead...

Awesome!  Thanks!

Only thing is it hardcodes the max connections as 3 when there's a const for 
that (fixed in the attached patch).

Joe
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
From 864154cca1271f679d6bfa271b7a66bc789994fd Mon Sep 17 00:00:00 2001
From: Joe Mason <[email protected]>
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

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to