Home GnuPG
Diffusion GnuPG f35e7dbf9e71

common: Slight redefinition of nvc_get_boolean.

Description

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.