aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/t-http.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2016-08-12 05:37:57 +0000
committerWerner Koch <[email protected]>2016-08-12 10:16:19 +0000
commit61c2a1fa6d6cb345f9d81f4bdd3f8f8ddac1ea3e (patch)
treed59af6ff4b4aef85cdc81e7a75b0249d6afc835f /dirmngr/t-http.c
parentgpg: New option --input-size-hint. (diff)
downloadgnupg-61c2a1fa6d6cb345f9d81f4bdd3f8f8ddac1ea3e.tar.gz
gnupg-61c2a1fa6d6cb345f9d81f4bdd3f8f8ddac1ea3e.zip
Call log_set_prefix() with human-readable labels.
* agent/preset-passphrase.c, agent/protect-tool.c, dirmngr/dirmngr.c * dirmngr/t-http.c, g10/gpg.c, g10/gpgv.c, g13/g13-syshelp.c * g13/g13.c, kbx/kbxutil.c, scd/scdaemon.c, sm/gpgsm.c * tests/gpgscm/main.c, tools/gpg-check-pattern.c * tools/gpg-connect-agent.c, tools/gpgconf.c, tools/gpgtar.c * tools/symcryptrun.c: Invoke log_set_prefix() with human-readable labels. -- Some invocations of log_set_prefix() were done with raw numeric values instead of values that humans can understand. Use symbolic representations instead of numeric for better readability. Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to '')
-rw-r--r--dirmngr/t-http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/t-http.c b/dirmngr/t-http.c
index 3a6be6c6a..59959c4a5 100644
--- a/dirmngr/t-http.c
+++ b/dirmngr/t-http.c
@@ -154,7 +154,7 @@ main (int argc, char **argv)
http_session_t session = NULL;
gpgrt_init ();
- log_set_prefix (PGM, 1 | 4);
+ log_set_prefix (PGM, GPGRT_LOG_WITH_PREFIX | GPGRT_LOG_WITH_PID);
if (argc)
{ argc--; argv++; }
while (argc && last_argc != argc )