summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-01-24 09:29:04 +0100
committerWerner Koch <wk@gnupg.org>2023-01-24 10:07:02 +0100
commitf35e7dbf9e71f847f3c7da40542bd6c37f43711e (patch)
tree68d822b9b43bd3b7e0961449fc7a438dee3653e0 /agent
parentdoc: Remove profile and systemd example files. (diff)
downloadgnupg2-f35e7dbf9e71f847f3c7da40542bd6c37f43711e.tar.xz
gnupg2-f35e7dbf9e71f847f3c7da40542bd6c37f43711e.zip
common: Slight redefinition of nvc_get_boolean.
* common/name-value.c (nvc_get_boolean): Rewrite. -- The function may now return a positive or negative number instead of just 1 for true. All callers were already prepared for this. GnuPG-bug-id: 6212
Diffstat (limited to 'agent')
-rw-r--r--agent/gpg-agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 412eb43e1..381999cea 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -147,6 +147,7 @@ enum cmd_and_opt_values
oS2KCalibration,
oAutoExpandSecmem,
oListenBacklog,
+ oInactivityTimeout,
oWriteEnvFile,
@@ -185,7 +186,7 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_s_s (oHomedir, "homedir", "@"),
ARGPARSE_conffile (oOptions, "options", N_("|FILE|read options from FILE")),
ARGPARSE_noconffile (oNoOptions, "no-options", "@"),
-
+ ARGPARSE_s_i (oInactivityTimeout, "inactivity-timeout", "@"),
ARGPARSE_header ("Monitor", N_("Options controlling the diagnostic output")),