new field names in `krb5_address'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1910 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-06-15 21:32:33 +00:00
parent 64e7108d89
commit 3246554682
5 changed files with 25 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ krb5_get_all_client_addrs (krb5_addresses *res)
return errno;
res->number = 1;
res->addrs = malloc (sizeof(*res->addrs));
res->addrs[0].type = hostent->h_addrtype;
res->addrs[0].addr_type = hostent->h_addrtype;
res->addrs[0].address.data = NULL;
res->addrs[0].address.length = 0;
err = krb5_data_alloc (&res->addrs[0].address, hostent->h_length);