From 99c434bf0df4b7c7019628d1cdf26a424050f3c9 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 24 Jul 1997 07:20:49 +0000 Subject: [PATCH] (krb5_get_in_tkt): interpret the error number in KRB-ERROR correctly. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2590 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/get_in_tkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/get_in_tkt.c b/lib/krb5/get_in_tkt.c index a6a8b1c54..4fdc13149 100644 --- a/lib/krb5/get_in_tkt.c +++ b/lib/krb5/get_in_tkt.c @@ -366,7 +366,7 @@ krb5_get_in_tkt(krb5_context context, fprintf (stderr, "get_in_tkt: KRB_ERROR: %s\n", *(error.e_text)); free_KRB_ERROR (&error); - return error.error_code; + return error.error_code + KRB5KDC_ERR_NONE; } return ret; }