From 9f7a997952a9fba05a83175295c9d1be938b68b8 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 5 Oct 2010 21:44:14 +0000 Subject: [PATCH] Document that krb5_get_error_message() never returns NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24430 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/krb5.hin | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index bd89f3372..e04cf3b11 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -2659,7 +2659,9 @@ krb5_copy_error_message(krb5_context, krb5_context); * time it is called after a failed call to a krb5 function using the * same context, and only when the error code passed in is the same as * that returned by the krb5 function. Future versions may return the - * same string for the second and following calls. + * same string for the second and following calls. This function never + * returns NULL, so its result may be used unconditionally as a C + * string. * * The string returned by this function must be freed using * krb5_free_error_message. -- 2.26.2