summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-03-16 19:59:35 +0100
committerWerner Koch <wk@gnupg.org>2004-03-16 19:59:35 +0100
commita854459fc14e4a8b612f4d9ef23607c2867d2cb8 (patch)
tree44ca1b074ad4fae039574514645aa127f5c314fe
parent* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c (diff)
downloadgnupg2-a854459fc14e4a8b612f4d9ef23607c2867d2cb8.tar.xz
gnupg2-a854459fc14e4a8b612f4d9ef23607c2867d2cb8.zip
(parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro. (main): Updated --gpgconf-list output.
-rw-r--r--agent/gpg-agent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 5b9e22465..12bdb85ea 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -607,8 +607,9 @@ main (int argc, char **argv )
#define GC_OPT_FLAG_NO_ARG_DESC (1UL << 6)
printf ("gpgconf-gpg-agent.conf:%lu:\"%s\n",
- GC_OPT_FLAG_DEFAULT, config_filename);
-
+ GC_OPT_FLAG_DEFAULT,
+ config_filename?config_filename:"/dev/null");
+
printf ("verbose:%lu:\n"
"quiet:%lu:\n"
"debug-level:%lu:\"none\":\n"