]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Revert last trace.c change
authorGreg Hudson <ghudson@mit.edu>
Wed, 24 Oct 2012 02:39:27 +0000 (22:39 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 24 Oct 2012 02:39:27 +0000 (22:39 -0400)
The fencepost error was illusory.

src/lib/krb5/os/trace.c

index 1cc115f67d0e5e343003538cde9fb59bef9a248d..355b14393770a8f327595051231a87d1ed2e1b3c 100644 (file)
@@ -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;