mirror of git://git.gnupg.org/gnupg.git
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;
|
const unsigned char *s;
|
||||||
|
|
||||||
for (s=buf ; buflen; s++, buflen--)
|
for (s=buf ; buflen; s++, buflen--)
|
||||||
if (*s < 32 && *s > 126)
|
if (*s < 32 || *s > 126)
|
||||||
return 0;
|
return 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue