summaryrefslogtreecommitdiff
path: root/lib/krb5.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-16 20:22:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-16 20:22:46 +0200
commit6632d957e7d658566288406276dc98669e8228c7 (patch)
tree23a345f7ef773fd0bcbffa207e10e77ae090940e /lib/krb5.c
parentc5e539c312af011e312bd82a9fef6c2c44061ca9 (diff)
downloadcurl-6632d957e7d658566288406276dc98669e8228c7.tar.gz
krb5_auth: fix my previous change to compile
Diffstat (limited to 'lib/krb5.c')
-rw-r--r--lib/krb5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/krb5.c b/lib/krb5.c
index 92f2b7155..9fb44f2d7 100644
--- a/lib/krb5.c
+++ b/lib/krb5.c
@@ -1,6 +1,6 @@
/* GSSAPI/krb5 support for FTP - loosely based on old krb4.c
*
- * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan
+ * Copyright (c) 1995, 1996, 1997, 1998, 1999, 2010 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* Copyright (c) 2004 - 2009 Daniel Stenberg
* All rights reserved.
@@ -163,7 +163,7 @@ krb5_auth(void *app_data, struct connectdata *conn)
{
int ret;
char *p;
- const char *host = conn->host->name;
+ const char *host = conn->host.name;
ssize_t nread;
curl_socklen_t l = sizeof(conn->local_addr);
struct SessionHandle *data = conn->data;