Fix ctype.h misuse.
Excluded: libtomath and libedit files, most of which appear to be testing or example code not involved in production, and which are derived from an upstream that should perhaps have patches submitted upstream instead. fix https://github.com/heimdal/heimdal/issues/1111
This commit is contained in:

committed by
Nico Williams

parent
39f24c4cd4
commit
a142767598
@@ -305,7 +305,7 @@ loop (unsigned char *buf, size_t len, int indent)
|
||||
s = str.data;
|
||||
printf("\"");
|
||||
for (n = 0; n < str.length; n++) {
|
||||
if (isprint((int)s[n]))
|
||||
if (isprint(s[n]))
|
||||
printf ("%c", s[n]);
|
||||
else
|
||||
printf ("#%02x", s[n]);
|
||||
|
Reference in New Issue
Block a user