summaryrefslogtreecommitdiff
path: root/lib/krb4.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-11-24 09:04:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-11-24 09:04:09 +0000
commitd5d55a856ea70ea6fab1a21821ae3fdb4e921d82 (patch)
tree7138de8ea5417477ba407cdbbed3faa04d41d606 /lib/krb4.c
parentdac045029a14c1fdc03af0323ebecd545464a905 (diff)
downloadcurl-d5d55a856ea70ea6fab1a21821ae3fdb4e921d82.tar.gz
adjusted code to the new socket fields in the sessionhandle struct
Diffstat (limited to 'lib/krb4.c')
-rw-r--r--lib/krb4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb4.c b/lib/krb4.c
index 71fdea131..bf8037d84 100644
--- a/lib/krb4.c
+++ b/lib/krb4.c
@@ -209,7 +209,7 @@ krb4_auth(void *app_data, struct connectdata *conn)
struct SessionHandle *data = conn->data;
CURLcode result;
- if(getsockname(conn->firstsocket,
+ if(getsockname(conn->sock[FIRSTSOCKET],
(struct sockaddr *)LOCAL_ADDR, &l) < 0)
perror("getsockname()");