]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Print tilde characters as-is in trace output
authorGreg Hudson <ghudson@mit.edu>
Tue, 23 Oct 2012 23:07:27 +0000 (19:07 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 23 Oct 2012 23:07:27 +0000 (19:07 -0400)
ticket: 7420 (new)
target_version: 1.11
tags: pullup

src/lib/krb5/os/trace.c

index 355b14393770a8f327595051231a87d1ed2e1b3c..1cc115f67d0e5e343003538cde9fb59bef9a248d 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] > 126)
+        if (p[i] < 32 || p[i] > 127)
             break;
     }
     return i == len;