krb5 commit: Fix TRACE_GET_CRED_VIA_TKT_EXT format string

Greg Hudson ghudson at MIT.EDU
Thu May 24 13:23:55 EDT 2012


https://github.com/krb5/krb5/commit/eebe17cce0dfaaeb403fe97c6e2048dda32226f1
commit eebe17cce0dfaaeb403fe97c6e2048dda32226f1
Author: Greg Hudson <ghudson at mit.edu>
Date:   Thu May 24 13:19:17 2012 -0400

    Fix TRACE_GET_CRED_VIA_TKT_EXT format string

 src/include/k5-trace.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/k5-trace.h b/src/include/k5-trace.h
index f64dc70..57d6119 100644
--- a/src/include/k5-trace.h
+++ b/src/include/k5-trace.h
@@ -426,9 +426,9 @@ void krb5int_trace(krb5_context context, const char *fmt, ...);
           reply, request)
 
 #define TRACE_GET_CRED_VIA_TKT_EXT(c, request, reply, kdcoptions) \
-    TRACE(c, "Get cred via TGT {princ} after requesting {prince} " \
+    TRACE(c, "Get cred via TGT {princ} after requesting {princ} " \
           "(canonicalize {str})", \
-          reply, request, kdcoptions & KDC_OPT_CANONICALIZE ? "on" : "off")
+          reply, request, (kdcoptions & KDC_OPT_CANONICALIZE) ? "on" : "off")
 #define TRACE_GET_CRED_VIA_TKT_EXT_RETURN(c, ret) \
     TRACE(c, "Got cred; {kerr}", ret)
 


More information about the cvs-krb5 mailing list