From ef035f079fb067f207e5477d5ed6c5a68fb41f59 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 2 Mar 2017 14:52:52 +0100 Subject: [PATCH] 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 --- src/engine-gpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine-gpg.c b/src/engine-gpg.c index 34436007..59cf405a 100644 --- a/src/engine-gpg.c +++ b/src/engine-gpg.c @@ -2093,7 +2093,7 @@ gpg_add_algo_usage_expire (engine_gpg_t gpg, } if (!err) { - if (flags & GPGME_CREATE_NOEXPIRE) + if ((flags & GPGME_CREATE_NOEXPIRE)) err = add_arg (gpg, "never"); else if (expires == 0) err = add_arg (gpg, "-");