Home GnuPG
Diffusion GPGME 3b32f7a97f97

core: At debug levels up to 9 print only an ascii dump.
3b32f7a97f97Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

core: At debug levels up to 9 print only an ascii dump.

* src/debug.c (_gpgme_debug_buffer): Switch between two output
formats.

The new format is much more practical than the bunch of hex digits
followed by just 16 ascii chars. To get the old behaviour use a debug
level of 10.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 12 2019, 12:31 PM
Parents
rM2a3cdb3e819d: core: Improve code by using strconcat at two places.
Branches
Unknown
Tags
Unknown