use krb5_eai_to_heim_errno

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8587 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-07-08 13:06:07 +00:00
parent d45fccaa9d
commit 5d9b607c1a
4 changed files with 6 additions and 4 deletions

View File

@@ -55,7 +55,9 @@ get_kdc_address (krb5_context context,
error = roken_getaddrinfo_hostspec(*hostlist, port, ai);
krb5_free_krbhst (context, hostlist);
return error;
if(error)
return krb5_eai_to_heim_errno(error);
return 0;
}
static krb5_error_code