summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1991-05-20 16:28:42 +0000
committerJohn Carr <jfc@mit.edu>1991-05-20 16:28:42 +0000
commit543f5784114e9c44b515e19e9424fe2b6e58ddd9 (patch)
tree459633b608c598e854a328b3a5291633a4ffb772 /src/lib
parent70c5add099dac66bf6f7fdad482bd0a417bb3605 (diff)
Document error return values
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2105 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/unparse.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/unparse.c b/src/lib/krb5/krb/unparse.c
index 7c8858d51..6f87347e3 100644
--- a/src/lib/krb5/krb/unparse.c
+++ b/src/lib/krb5/krb/unparse.c
@@ -36,7 +36,11 @@ static char rcsid_unparse_c[] =
* appear in any the component, they will be representing using
* backslash encoding. ("\/", "\@", or '\0', respectively)
*
- * returns system errors XXX
+ * returns error
+ * KRB_PARSE_MALFORMED principal is invalid (does not contain
+ * at least 2 components)
+ * also returns system errors
+ * ENOMEM unable to allocate memory for string
*/
#define REALM_SEP '@'