mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Add debug flag "recsel".
* g10/gpg.c: Include recsel.h. (debug_flags): New flag "recsel". (set_debug): Set it. * g10/options.h (DBG_RECSEL_VALUE, DBG_RECSEL): New. * g10/import.c (impex_filter_getval): Add debug diagnostics. * g10/keylist.c (parse_and_set_list_filter): Dump the record filter. * common/recsel.c (recsel_debug): New variable. (recsel_set_debug): New function. (recsel_select): Add debug output if requested.
This commit is contained in:
parent
28591a9f3a
commit
a9445bbb1d
6 changed files with 29 additions and 0 deletions
|
@ -132,6 +132,8 @@ parse_and_set_list_filter (const char *string)
|
|||
err = recsel_parse_expr (&list_filter.selkey, string+7);
|
||||
else
|
||||
err = gpg_error (GPG_ERR_INV_NAME);
|
||||
if (!err && DBG_RECSEL)
|
||||
recsel_dump (list_filter.selkey);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue