diff options
-rw-r--r-- | lib/krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5.c b/lib/krb5.c index 36afc3c46..92f2b7155 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -163,7 +163,7 @@ krb5_auth(void *app_data, struct connectdata *conn) { int ret; char *p; - const char *host = conn->dns_entry->addr->ai_canonname; + const char *host = conn->host->name; ssize_t nread; curl_socklen_t l = sizeof(conn->local_addr); struct SessionHandle *data = conn->data; |