krb5 commit: Fix "(empty" typo in "{etypes}" handler in trace.c

Tom Yu tlyu at MIT.EDU
Fri May 18 13:41:21 EDT 2012


https://github.com/krb5/krb5/commit/6ea1d4b36934480c2acec98738b18da6178d8941
commit 6ea1d4b36934480c2acec98738b18da6178d8941
Author: W. Trevor King <wking at tremily.us>
Date:   Wed May 16 19:09:46 2012 -0400

    Fix "(empty" typo in "{etypes}" handler in trace.c
    
    ticket: 7137

 src/lib/krb5/os/trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/krb5/os/trace.c b/src/lib/krb5/os/trace.c
index 84b5c77..bc52f2b 100644
--- a/src/lib/krb5/os/trace.c
+++ b/src/lib/krb5/os/trace.c
@@ -225,7 +225,7 @@ trace_format(krb5_context context, const char *fmt, va_list ap)
         } else if (strcmp(tmpbuf, "etypes") == 0) {
             etypes = va_arg(ap, krb5_enctype *);
             if (etypes == NULL || *etypes == 0)
-                krb5int_buf_add(&buf, "(empty");
+                krb5int_buf_add(&buf, "(empty)");
             for (; etypes != NULL && *etypes != 0; etypes++) {
                 subfmt(context, &buf, "{etype}", *etypes);
                 if (*(etypes + 1) != 0)


More information about the cvs-krb5 mailing list