[Pkg-gnupg-commit] [gpgme] 91/132: core: Fix minor code style thing.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 26 01:01:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit ef035f079fb067f207e5477d5ed6c5a68fb41f59
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Mar 2 14:52:52 2017 +0100

    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 at gnupg.org>
---
 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 3443600..59cf405 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, "-");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list