fix call to `krb5_sname_to_principal'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2785 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-08-08 03:48:00 +00:00
parent 1241672975
commit 894632e17a

View File

@@ -244,7 +244,7 @@ send_krb5_auth(int s, struct sockaddr_in thisaddr,
status = krb5_sname_to_principal(context,
hostname,
"host",
KRB5_NT_SRV_INST,
KRB5_NT_SRV_HST,
&server);
if (status)
errx (1, "%s: %s", hostname, krb5_get_err_text(context, status));