(parse_rereadable_options): Use the new
authorWerner Koch <wk@gnupg.org>
Tue, 16 Mar 2004 18:59:35 +0000 (18:59 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 16 Mar 2004 18:59:35 +0000 (18:59 +0000)
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.

agent/gpg-agent.c

index 5b9e224..12bdb85 100644 (file)
@@ -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"