aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-g13.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-06-05 13:48:33 +0000
committerWerner Koch <[email protected]>2019-06-05 13:54:55 +0000
commit8f9f3224aac78ce9d54e19e73acf7ab659787168 (patch)
tree4d360f78409119a3acb9b2f26c31e6183bb71292 /src/engine-g13.c
parentcore: Avoid explicit locks in the debug code. (diff)
downloadgpgme-8f9f3224aac78ce9d54e19e73acf7ab659787168.tar.gz
gpgme-8f9f3224aac78ce9d54e19e73acf7ab659787168.zip
core: Improve the debug messages even more.
* src/debug.c (_gpgme_debug): Add arg LINE. Chnage all callers. (_gpgme_debug_begin): Remove. * src/debug.h (TRACE_SEQ): Use the LINE arg of _gpgme_debug. -- This includes chnages to always print fds in decimal as weel as tweaking the TARCE_SEQ function to make use of the new machinery. The standard 'tag' can now always be NULL and no tag information will be printed. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/engine-g13.c')
-rw-r--r--src/engine-g13.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-g13.c b/src/engine-g13.c
index edb8d54f..19dd8f47 100644
--- a/src/engine-g13.c
+++ b/src/engine-g13.c
@@ -639,7 +639,7 @@ add_io_cb (engine_g13_t g13, iocb_data_t *iocbd, gpgme_io_cb_t handler)
gpgme_error_t err;
TRACE_BEG (DEBUG_ENGINE, "engine-g13:add_io_cb", g13,
- "fd %d, dir %d", iocbd->fd, iocbd->dir);
+ "fd=%d, dir %d", iocbd->fd, iocbd->dir);
err = (*g13->io_cbs.add) (g13->io_cbs.add_priv,
iocbd->fd, iocbd->dir,
handler, iocbd->data, &iocbd->tag);