1. 01 May, 2017 5 commits
  2. 30 Apr, 2017 5 commits
  3. 29 Apr, 2017 4 commits
  4. 27 Apr, 2017 3 commits
  5. 26 Apr, 2017 4 commits
  6. 25 Apr, 2017 11 commits
  7. 24 Apr, 2017 5 commits
  8. 23 Apr, 2017 2 commits
  9. 22 Apr, 2017 1 commit
    • Alan Jenkins's avatar
      multi: clarify condition in curl_multi_wait · be299a4d
      Alan Jenkins authored
      `if(nfds || extra_nfds) {` is followed by `malloc(nfds * ...)`.
      
      If `extra_fs` could be non-zero when `nfds` was zero, then we have
      `malloc(0)` which is allowed to return `NULL`. But, malloc returning
      NULL can be confusing. In this code, the next line would treat the NULL
      as an allocation failure.
      
      It turns out, if `nfds` is zero then `extra_nfds` must also be zero.
      The final value of `nfds` includes `extra_nfds`.  So the test for
      `extra_nfds` is redundant.  It can only confuse the reader.
      
      Closes #1439
      be299a4d