Curl_ascii_equal() must not assume that the string is actually ASCII (so that a-z
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Oct 2008 07:59:00 +0000 (07:59 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Oct 2008 07:59:00 +0000 (07:59 +0000)
commit545cafce9b81f4bda89072a5ebb2d1632f10dc44
treeee0994762c439641b27809ef3c954577611a6bb2
parentfb66d5179663efbc143816d056630e2d98cf98f8
Curl_ascii_equal() must not assume that the string is actually ASCII (so that a-z
are consecutive and with a 0x20 "distance" to the uppercase letter), since we do
support EBCDIC as well. Thus I replaced the macro with a (larger) switch case.

I better change the function name...
lib/strequal.c