aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-28 20:34:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-28 20:34:04 +0000
commite1c6f216c24869e039251f168f7cbde775459ff2 (patch)
treeda82b69d2b72767b522bde6d0f09bd6f2d776b81
parent630b73bfa8d7626ff71d92e468af2a2033685d77 (diff)
the new way of accessing the host name
-rw-r--r--lib/krb4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/krb4.c b/lib/krb4.c
index 48827cb56..3ff22c9ad 100644
--- a/lib/krb4.c
+++ b/lib/krb4.c
@@ -206,7 +206,7 @@ krb4_auth(void *app_data, struct connectdata *conn)
int checksum;
u_int32_t cs;
struct krb4_data *d = app_data;
- char *host = conn->hostname;
+ char *host = conn->host.name;
ssize_t nread;
int l = sizeof(conn->local_addr);
struct SessionHandle *data = conn->data;
@@ -375,7 +375,7 @@ CURLcode Curl_krb_kauth(struct connectdata *conn)
if (strcmp ((char*)tktcopy.dat + 8,
KRB_TICKET_GRANTING_TICKET) != 0) {
afs_string_to_key(passwd,
- krb_realmofhost(conn->hostname),
+ krb_realmofhost(conn->host.name),
&key);
des_key_sched(&key, schedule);
des_pcbc_encrypt((void *)tkt.dat, (void *)tktcopy.dat,