diff options
author | Werner Koch <[email protected]> | 2018-11-16 15:39:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-11-16 15:39:26 +0000 |
commit | 94d274a1a33c6fb30981290b127f2c4babc27245 (patch) | |
tree | b4b62ee0e3c22f19d1bd376223340d971801d9d2 /src/dirinfo.c | |
parent | core: Simplify the trace maros by using variadics. (diff) | |
download | gpgme-94d274a1a33c6fb30981290b127f2c4babc27245.tar.gz gpgme-94d274a1a33c6fb30981290b127f2c4babc27245.zip |
core: Remove old debug helper function
* src/debug.c (_gpgme_debug): Remove.
(_gpgme_debugf): Rename to _gpgme_debug.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/dirinfo.c')
-rw-r--r-- | src/dirinfo.c | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/dirinfo.c b/src/dirinfo.c index 10b7b5ee..d4811990 100644 --- a/src/dirinfo.c +++ b/src/dirinfo.c @@ -262,13 +262,14 @@ get_gpgconf_item (int what) pgmname = dirinfo.disable_gpgconf? NULL : _gpgme_get_gpgconf_path (); if (pgmname && access (pgmname, F_OK)) { - _gpgme_debug (DEBUG_INIT, + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, "gpgme-dinfo: gpgconf='%s' [not installed]\n", pgmname); free (pgmname); pgmname = NULL; /* Not available. */ } else - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: gpgconf='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: gpgconf='%s'\n", pgmname? pgmname : "[null]"); if (!pgmname) { @@ -294,28 +295,36 @@ get_gpgconf_item (int what) allocated. */ dirinfo.valid = 1; if (dirinfo.gpg_name) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: gpg='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: gpg='%s'\n", dirinfo.gpg_name); if (dirinfo.g13_name) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: g13='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: g13='%s'\n", dirinfo.g13_name); if (dirinfo.gpgsm_name) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: gpgsm='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: gpgsm='%s'\n", dirinfo.gpgsm_name); if (dirinfo.homedir) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: homedir='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: homedir='%s'\n", dirinfo.homedir); if (dirinfo.agent_socket) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: agent='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: agent='%s'\n", dirinfo.agent_socket); if (dirinfo.agent_ssh_socket) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: ssh='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: ssh='%s'\n", dirinfo.agent_ssh_socket); if (dirinfo.dirmngr_socket) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: dirmngr='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: dirmngr='%s'\n", dirinfo.dirmngr_socket); if (dirinfo.uisrv_socket) - _gpgme_debug (DEBUG_INIT, "gpgme-dinfo: uisrv='%s'\n", + _gpgme_debug (DEBUG_INIT, -1, NULL, NULL, NULL, + "gpgme-dinfo: uisrv='%s'\n", dirinfo.uisrv_socket); } switch (what) |