Commit 40153716 authored by Joe Mason's avatar Joe Mason Committed by Daniel Stenberg
Browse files

Use MAX_EASY_HANDLES instead of hardcoding the number of handles twice

parent 7735141e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
      }
    }