[krbdev.mit.edu #7131] [PATCH 1/1] sn2princ.c: add terminal newline to "failed to canonicalize" debug message.

"W. Trevor King" via RT rt-comment at krbdev.mit.edu
Mon May 14 13:49:54 EDT 2012


This should have happened when the message was changed by:

  commit 4f9e448d70ef3609d3cab3790e2be64ace0ecb37
  Author: Sam Hartman <hartmans at mit.edu>
  Date:   Mon Oct 17 00:45:23 2011 +0000
---
If the `git format-patch` format is not the way to go, let me know an
I can report bugs/submit patches in an alternate format.

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

diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c
index f149feb..75ba73e 100644
--- a/src/lib/krb5/os/sn2princ.c
+++ b/src/lib/krb5/os/sn2princ.c
@@ -109,7 +109,7 @@ 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);
-- 
1.7.3.4



More information about the krb5-bugs mailing list