krb5 commit: Add missing newline to sn2princ debug message

Greg Hudson ghudson at MIT.EDU
Mon May 14 15:24:11 EDT 2012


https://github.com/krb5/krb5/commit/c7a8bfa74c527c8de5b27e371df1f3a39b83e869
commit c7a8bfa74c527c8de5b27e371df1f3a39b83e869
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon May 14 15:24:02 2012 -0400

    Add missing newline to sn2princ debug message
    
    Patch from wking at tremily.us.
    
    ticket: 7131

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

diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c
index f149feb..edf1318 100644
--- a/src/lib/krb5/os/sn2princ.c
+++ b/src/lib/krb5/os/sn2princ.c
@@ -109,7 +109,8 @@ krb5_sname_to_principal(krb5_context context, const char *hostname, const char *
             err = getaddrinfo(hostname, 0, &hints, &ai);
             if (err) {
 #ifdef DEBUG_REFERRALS
-                printf("sname_to_princ: failed to canonicalize %s; using as-is", hostname);
+                printf("sname_to_princ: failed to canonicalize %s; "
+                       "using as-is\n", hostname);
 #endif
             }
             remote_host = strdup((ai && ai->ai_canonname) ? ai->ai_canonname : hostname);


More information about the cvs-krb5 mailing list