Fix "(null" typo in "{key}" handler in trace.c
authorW. Trevor King <wking@tremily.us>
Wed, 16 May 2012 21:11:12 +0000 (17:11 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 18 May 2012 17:21:59 +0000 (13:21 -0400)
ticket: 7134

src/lib/krb5/os/trace.c

index e859c13444949078d186ca25efa973c75d263fc3..84b5c77dafdec0b6d7b2e219b33e40497ef1ad4c 100644 (file)
@@ -193,7 +193,7 @@ trace_format(krb5_context context, const char *fmt, va_list ap)
         } else if (strcmp(tmpbuf, "key") == 0) {
             key = va_arg(ap, krb5_key);
             if (key == NULL)
-                krb5int_buf_add(&buf, "(null");
+                krb5int_buf_add(&buf, "(null)");
             else
                 subfmt(context, &buf, "{keyblock}", &key->keyblock);
         } else if (strcmp(tmpbuf, "cksum") == 0) {