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:
@@ -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
|
||||
|
Reference in New Issue
Block a user