Commit 7493db23 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Eric nailed a but in strnequal() for macintosh

parent c3ad019c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -63,6 +63,9 @@ int curl_strnequal(const char *first, const char *second, size_t max)
    first++;
    second++;
  }
  if(0 == max)
    return 1; /* they are equal this far */

  return toupper(*first) == toupper(*second);
#endif
}