stupid and quick fixes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@867 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-10-20 17:47:14 +00:00
parent 941112cf37
commit 7335772620
12 changed files with 22 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ krb5_get_all_client_addrs (krb5_addresses *res)
res->number = 1;
res->addrs = malloc (sizeof(*res->addrs));
res->addrs[0].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);
if (err)
return err;