summaryrefslogtreecommitdiff
path: root/lib/hostip4.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-16 15:03:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-16 15:03:52 +0200
commitf3d4b17a9cf4b92778a945c00a9df9b4856b97f6 (patch)
treea3b031bdea0d114d7dbf333bf685a9b632b0e7af /lib/hostip4.c
parent5bd38b70ddcfb305fa6ee133827f35009eef4135 (diff)
downloadcurl-f3d4b17a9cf4b92778a945c00a9df9b4856b97f6.tar.gz
resolvers: no more using AI_CANONNAME
No resolver anymore needs to use AI_CANONNAME and do reverse lookups. We should work hard to avoid having code that relies on it.
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r--lib/hostip4.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c
index aa33fb965..05dd73e0a 100644
--- a/lib/hostip4.c
+++ b/lib/hostip4.c
@@ -160,11 +160,6 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
snprintf(sbuf, sizeof(sbuf), "%d", port);
sbufptr = sbuf;
}
-#ifdef HAVE_GSSAPI
- if(conn->data->set.krb)
- /* if krb is used, we (might) need the canonical host name */
- hints.ai_flags |= AI_CANONNAME;
-#endif
(void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);