mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Add new debug flag "extprog"
* dirmngr/dirmngr.h (DBG_EXTPROG_VALUE, DBG_EXTPROG): New macros. * dirmngr/dirmngr.c (debug_flags): Add flag "extprog". (handle_connections): Use a macro instead of -1 for an invalid socket. * dirmngr/loadswdb.c (verify_status_cb): Debug the gpgv call. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d30e17ac62
commit
22b69b9edf
4 changed files with 14 additions and 4 deletions
|
@ -267,6 +267,7 @@ static struct debug_flags_s debug_flags [] =
|
|||
{ DBG_DNS_VALUE , "dns" },
|
||||
{ DBG_NETWORK_VALUE, "network" },
|
||||
{ DBG_LOOKUP_VALUE , "lookup" },
|
||||
{ DBG_EXTPROG_VALUE, "extprog" },
|
||||
{ 77, NULL } /* 77 := Do not exit on "help" or "?". */
|
||||
};
|
||||
|
||||
|
@ -2215,7 +2216,7 @@ handle_connections (assuan_fd_t listen_fd)
|
|||
close (my_inotify_fd);
|
||||
#endif /*HAVE_INOTIFY_INIT*/
|
||||
npth_attr_destroy (&tattr);
|
||||
if (listen_fd != -1)
|
||||
if (listen_fd != GNUPG_INVALID_FD)
|
||||
assuan_sock_close (fd);
|
||||
cleanup ();
|
||||
log_info ("%s %s stopped\n", strusage(11), strusage(13));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue