aboutsummaryrefslogtreecommitdiff
path: root/src/tool_libinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-10-31 21:49:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-10-31 21:51:19 +0100
commit95bd2b3e7f00b9ecbd4d5ea7d8bc3b59fcb038c0 (patch)
treea097d3b9398ca33a83fffe7b53fa018bd466e998 /src/tool_libinfo.c
parent1071680946686f0a76a1b6fcbadd8ec81253282d (diff)
strcase: make the tool use curl_str[n]equal instead
As they are after all part of the public API. Saves space and reduces complexity. Remove the strcase defines from the curlx_ family. Suggested-by: Dan Fandrich Idea: https://curl.haxx.se/mail/lib-2016-10/0136.html
Diffstat (limited to 'src/tool_libinfo.c')
-rw-r--r--src/tool_libinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_libinfo.c b/src/tool_libinfo.c
index 190b93aa1..d2bf7fb93 100644
--- a/src/tool_libinfo.c
+++ b/src/tool_libinfo.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -89,7 +89,7 @@ CURLcode get_libcurl_info(void)
if(curlinfo->protocols) {
for(proto = curlinfo->protocols; *proto; proto++) {
for(p = possibly_built_in; p->proto_name; p++) {
- if(curlx_strcasecompare(*proto, p->proto_name)) {
+ if(curl_strequal(*proto, p->proto_name)) {
built_in_protos |= p->proto_pattern;
break;
}