core: Fix minor code style thing.

* src/engine-gpg.c (gpg_add_algo_usage_expire): Use double parenthesis
for bit tests.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2017-03-02 14:52:52 +01:00
parent 2486d0073b
commit ef035f079f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2093,7 +2093,7 @@ gpg_add_algo_usage_expire (engine_gpg_t gpg,
} }
if (!err) if (!err)
{ {
if (flags & GPGME_CREATE_NOEXPIRE) if ((flags & GPGME_CREATE_NOEXPIRE))
err = add_arg (gpg, "never"); err = add_arg (gpg, "never");
else if (expires == 0) else if (expires == 0)
err = add_arg (gpg, "-"); err = add_arg (gpg, "-");