catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1012,6 +1012,8 @@ krb5_425_conv_principal_ext2(krb5_context context,
|
||||
snprintf(host, sizeof(host), "%s.%s", instance, realm);
|
||||
strlwr(host);
|
||||
ret = krb5_make_principal(context, &pr, realm, name, host, NULL);
|
||||
if (ret)
|
||||
return ret;
|
||||
if((*func)(context, funcctx, pr)){
|
||||
*princ = pr;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user