Skip to content

Commit

Permalink
Add missing newline to sn2princ debug message
Browse files Browse the repository at this point in the history
Patch from wking@tremily.us.

ticket: 7131
  • Loading branch information
greghudson committed May 14, 2012
1 parent 933798d commit c7a8bfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/krb5/os/sn2princ.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c7a8bfa

Please sign in to comment.