krb5 commit: Print tilde characters as-is in trace output
Greg Hudson
ghudson at MIT.EDU
Tue Oct 23 21:07:33 EDT 2012
https://github.com/krb5/krb5/commit/a232de08e2747c81ace991bcc6082f3b9e5392b6
commit a232de08e2747c81ace991bcc6082f3b9e5392b6
Author: Greg Hudson <ghudson at mit.edu>
Date: Tue Oct 23 19:07:27 2012 -0400
Print tilde characters as-is in trace output
ticket: 7420 (new)
target_version: 1.11
tags: pullup
src/lib/krb5/os/trace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/krb5/os/trace.c b/src/lib/krb5/os/trace.c
index 355b143..1cc115f 100644
--- a/src/lib/krb5/os/trace.c
+++ b/src/lib/krb5/os/trace.c
@@ -51,7 +51,7 @@ buf_is_printable(const char *p, size_t len)
size_t i;
for (i = 0; i < len; i++) {
- if (p[i] < 32 || p[i] > 126)
+ if (p[i] < 32 || p[i] > 127)
break;
}
return i == len;
More information about the cvs-krb5
mailing list