core: Fix minor code style thing.
authorWerner Koch <wk@gnupg.org>
Thu, 2 Mar 2017 13:52:52 +0000 (14:52 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 2 Mar 2017 13:52:52 +0000 (14:52 +0100)
* src/engine-gpg.c (gpg_add_algo_usage_expire): Use double parenthesis
for bit tests.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/engine-gpg.c

index 3443600..59cf405 100644 (file)
@@ -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, "-");