summaryrefslogtreecommitdiffstats
path: root/lib/hostcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostcheck.c')
-rw-r--r--lib/hostcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostcheck.c b/lib/hostcheck.c
index cbd0893..156091c 100644
--- a/lib/hostcheck.c
+++ b/lib/hostcheck.c
@@ -87,7 +87,7 @@ static int hostmatch(char *hostname, char *pattern)
if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0)
return CURL_HOST_NOMATCH;
#ifdef ENABLE_IPV6
- else if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0)
+ if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0)
return CURL_HOST_NOMATCH;
#endif