aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-09-05 08:55:10 +0000
committerWerner Koch <[email protected]>2016-09-05 09:58:48 +0000
commit0ac671f8a2b65a4b339f615c6420287a549779fa (patch)
tree97608684b97d7d01da96f6670e2bada91f01f81f /g10/gpg.c
parentgpg: New export filter drop-subkey. (diff)
downloadgnupg-0ac671f8a2b65a4b339f615c6420287a549779fa.tar.gz
gnupg-0ac671f8a2b65a4b339f615c6420287a549779fa.zip
common: Add an assuan logging monitor.
* common/asshelp.c (my_log_monitor): New var. (my_libassuan_log_handler): Run that monitor. (setup_libassuan_logging): Add arg to set a log monitor and change all callers. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 0b0fb7e75..9f7da050b 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2317,7 +2317,7 @@ main (int argc, char **argv)
malloc_hooks.free = gcry_free;
assuan_set_malloc_hooks (&malloc_hooks);
assuan_set_gpg_err_source (GPG_ERR_SOURCE_DEFAULT);
- setup_libassuan_logging (&opt.debug);
+ setup_libassuan_logging (&opt.debug, NULL);
/* Try for a version specific config file first */
default_configname = get_default_configname ();