]> granicus.if.org Git - curl/commitdiff
strcase: fix raw lowercasing the letter X
authorLucas Pardue <lucaspardue.24.7@gmail.com>
Tue, 24 Sep 2019 05:27:33 +0000 (01:27 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 24 Sep 2019 05:31:37 +0000 (01:31 -0400)
Casing mistake in Curl_raw_tolower 'X' wasn't lowercased as 'x' prior to
this change.

Follow-up to 0023fce which added the function several days ago.

Ref: https://github.com/curl/curl/pull/4401#discussion_r327396546

Closes https://github.com/curl/curl/pull/4408

lib/strcase.c

index 098cec7a8f064e2c2fd14ad6c976f8886bde36bb..67621e0f6173aff67465be66604f749cfae12944 100644 (file)
@@ -150,7 +150,7 @@ char Curl_raw_tolower(char in)
   case 'W':
     return 'w';
   case 'X':
-    return 'X';
+    return 'x';
   case 'Y':
     return 'y';
   case 'Z':