From: John Kohl Date: Fri, 31 Aug 1990 12:03:30 +0000 (+0000) Subject: use retval for return val X-Git-Tag: krb5-1.0-alpha2~348 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=971ad84f9413fda8903eb3b0a62ae0a474eefbc4;p=krb5.git use retval for return val git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1063 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/copy_princ.c b/src/lib/krb5/krb/copy_princ.c index a374d156e..cdbdfab78 100644 --- a/src/lib/krb5/krb/copy_princ.c +++ b/src/lib/krb5/krb/copy_princ.c @@ -41,7 +41,7 @@ krb5_principal *outprinc; for (nelems = 0; inprinc[nelems]; nelems++) if (retval = krb5_copy_data(inprinc[nelems], &tempprinc[nelems])) { krb5_free_principal(tempprinc); - return ENOMEM; + return retval; } *outprinc = tempprinc;