aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-glib-io.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-11-02 08:03:43 +0000
committerWerner Koch <[email protected]>2018-11-02 08:03:43 +0000
commit337c10825525d4084f3f437fde5af3806707e6a4 (patch)
treef4ee8b556665f005dc548ab0a007d521b64ff7de /src/w32-glib-io.c
parentw32: Fix and improve CancelSynchronousIo use. (diff)
downloadgpgme-337c10825525d4084f3f437fde5af3806707e6a4.tar.gz
gpgme-337c10825525d4084f3f437fde5af3806707e6a4.zip
core: Print a dump of the I/O data only at level 8.
* src/debug.h (TRACE_SUC3): New. (TRACE_LOGBUFX): New. * src/posix-io.c: Use TRACE_LOGBUFX instead of TRACE_LOGBUF. * src/w32-glib-io.c: Ditto. -- This will also be changed for w32-io as part of another commit. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/w32-glib-io.c')
-rw-r--r--src/w32-glib-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32-glib-io.c b/src/w32-glib-io.c
index 66dc9bf7..967c64e8 100644
--- a/src/w32-glib-io.c
+++ b/src/w32-glib-io.c
@@ -301,7 +301,7 @@ _gpgme_io_read (int fd, void *buffer, size_t count)
}
if (nread != 0 && nread != -1)
- TRACE_LOGBUF (buffer, nread);
+ TRACE_LOGBUFX (buffer, nread);
errno = saved_errno;
return TRACE_SYSRES (nread);
@@ -319,7 +319,7 @@ _gpgme_io_write (int fd, const void *buffer, size_t count)
TRACE_BEG2 (DEBUG_SYSIO, "_gpgme_io_write", fd,
"buffer=%p, count=%u", buffer, count);
- TRACE_LOGBUF (buffer, count);
+ TRACE_LOGBUFX (buffer, count);
chan = find_channel (fd);
if (!chan)