projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
933798d
)
Add missing newline to sn2princ debug message
author
Greg Hudson
<ghudson@mit.edu>
Mon, 14 May 2012 19:24:02 +0000
(15:24 -0400)
committer
Greg Hudson
<ghudson@mit.edu>
Mon, 14 May 2012 19:24:02 +0000
(15:24 -0400)
Patch from wking@tremily.us.
ticket: 7131
src/lib/krb5/os/sn2princ.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/sn2princ.c
b/src/lib/krb5/os/sn2princ.c
index f149febdadef32235a33b70fefff6b27f3c6e72f..edf13189a95715b70fffa1d27674920df0deb11f 100644
(file)
--- 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);