summaryrefslogtreecommitdiff
path: root/src/tool_libinfo.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <ghedo@debian.org>2018-07-11 22:37:26 +0100
committerAlessandro Ghedini <ghedo@debian.org>2018-07-11 22:37:26 +0100
commitd1a513ee44dba8dae727e1975ebcfa20966fec8f (patch)
treeaa35c8d732f77bebca871a3070f4002636d1ce79 /src/tool_libinfo.c
parent0b0cdd3061d45cdb1c6320fda06bb77f5c953fea (diff)
New upstream version 7.61.0
Diffstat (limited to 'src/tool_libinfo.c')
-rw-r--r--src/tool_libinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_libinfo.c b/src/tool_libinfo.c
index d2bf7fb9..58357098 100644
--- a/src/tool_libinfo.c
+++ b/src/tool_libinfo.c
@@ -76,7 +76,6 @@ CURLcode get_libcurl_info(void)
{ NULL, 0 }
};
- struct proto_name_pattern const *p;
const char *const *proto;
/* Pointer to libcurl's run-time version information */
@@ -88,6 +87,7 @@ CURLcode get_libcurl_info(void)
built_in_protos = 0;
if(curlinfo->protocols) {
for(proto = curlinfo->protocols; *proto; proto++) {
+ struct proto_name_pattern const *p;
for(p = possibly_built_in; p->proto_name; p++) {
if(curl_strequal(*proto, p->proto_name)) {
built_in_protos |= p->proto_pattern;