krb5 commit: Revert last trace.c change
Greg Hudson
ghudson at MIT.EDU
Tue Oct 23 22:41:11 EDT 2012
https://github.com/krb5/krb5/commit/c21b3248cfb52d357383781f5d55f720addc8f79
commit c21b3248cfb52d357383781f5d55f720addc8f79
Author: Greg Hudson <ghudson at mit.edu>
Date: Tue Oct 23 22:39:27 2012 -0400
Revert last trace.c change
The fencepost error was illusory.
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 1cc115f..355b143 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] > 127)
+ if (p[i] < 32 || p[i] > 126)
break;
}
return i == len;
More information about the cvs-krb5
mailing list