mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g13: Improve printing of debug infos.
* g13/g13tuple.c (all_printable): Make it work. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
6b84ecbf31
commit
5b6ebfb924
@ -282,7 +282,7 @@ all_printable (const void *buf, size_t buflen)
|
||||
const unsigned char *s;
|
||||
|
||||
for (s=buf ; buflen; s++, buflen--)
|
||||
if (*s < 32 && *s > 126)
|
||||
if (*s < 32 || *s > 126)
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user