mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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
This commit is contained in:
parent
eae28f1bd4
commit
f35e7dbf9e
3 changed files with 13 additions and 7 deletions
|
@ -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")),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue