projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bddb5bf
)
use retval for return val
author
John Kohl
<jtkohl@mit.edu>
Fri, 31 Aug 1990 12:03:30 +0000
(12:03 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 31 Aug 1990 12:03:30 +0000
(12:03 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1063
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/copy_princ.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/copy_princ.c
b/src/lib/krb5/krb/copy_princ.c
index a374d156e2decfe4f32b8814924fdc4e450d05a0..cdbdfab78ce06911a393891991dfa5728152ced9 100644
(file)
--- 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;