Loading lib/hostip4.c +0 −5 Original line number Diff line number Diff line Loading @@ -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); Loading lib/hostip6.c +0 −5 Original line number Diff line number Diff line Loading @@ -213,11 +213,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, /* the given address is numerical only, prevent a reverse lookup */ hints.ai_flags = AI_NUMERICHOST; } #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 if(port) { snprintf(sbuf, sizeof(sbuf), "%d", port); Loading lib/hostthre.c +1 −3 Original line number Diff line number Diff line Loading @@ -561,9 +561,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, memset(&hints, 0, sizeof(hints)); hints.ai_family = pf; hints.ai_socktype = conn->socktype; #if 0 /* removed nov 8 2005 before 7.15.1 */ hints.ai_flags = AI_CANONNAME; #endif snprintf(sbuf, sizeof(sbuf), "%d", port); /* fire up a new resolver thread! */ Loading Loading
lib/hostip4.c +0 −5 Original line number Diff line number Diff line Loading @@ -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); Loading
lib/hostip6.c +0 −5 Original line number Diff line number Diff line Loading @@ -213,11 +213,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, /* the given address is numerical only, prevent a reverse lookup */ hints.ai_flags = AI_NUMERICHOST; } #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 if(port) { snprintf(sbuf, sizeof(sbuf), "%d", port); Loading
lib/hostthre.c +1 −3 Original line number Diff line number Diff line Loading @@ -561,9 +561,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, memset(&hints, 0, sizeof(hints)); hints.ai_family = pf; hints.ai_socktype = conn->socktype; #if 0 /* removed nov 8 2005 before 7.15.1 */ hints.ai_flags = AI_CANONNAME; #endif snprintf(sbuf, sizeof(sbuf), "%d", port); /* fire up a new resolver thread! */ Loading