summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-08-30 08:50:05 +0200
committerAndrew Bartlett <abartlet@samba.org>2016-08-31 20:59:17 +0200
commit3bc9b764e29ad71aecc94369624e8907181f71c1 (patch)
treee7727d498d591dcfe93b06bee6b26a33301dc0d2 /lib
parenta5f1653651fc58a3ab8f2442b60932b711d3a02e (diff)
downloadsamba-3bc9b764e29ad71aecc94369624e8907181f71c1.tar.gz
krb5_wrap: Improve krb5_warnx() documentation
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/krb5_wrap/krb5_samba.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index a27ccd4a28d..edee4ad525f 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -2864,16 +2864,20 @@ void smb_krb5_principal_set_type(krb5_context context,
#endif
}
-/**
-* @brief Generate a krb5 warning, forwarding to com_err
-*
-* @param context The krb5_context
-* @param fmt The message format
-* @param ... The message arguments
-*
-* @return
-*/
#if !defined(HAVE_KRB5_WARNX)
+/**
+ * @brief Log a Kerberos message
+ *
+ * It sends the message to com_err.
+ *
+ * @param[in] context The library context
+ *
+ * @param[in] fmt The message format
+ *
+ * @param[in] ... The message arguments
+ *
+ * @return 0 on success.
+ */
krb5_error_code krb5_warnx(krb5_context context, const char *fmt, ...)
{
va_list args;