[Pkg-gnupg-commit] [gnupg2] 90/292: g10: Fix testing for debug flag.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:29 UTC 2016


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

dkg pushed a commit to branch master
in repository gnupg2.

commit 6b626824c8e30b41c47724b5ccbf761937499512
Author: Justus Winter <justus at g10code.com>
Date:   Thu Oct 6 14:17:55 2016 +0200

    g10: Fix testing for debug flag.
    
    * g10/parse-packet.c (set_packet_list_mode): Fix testing for debug
    flag.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 g10/parse-packet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 9a733b5..86c2be4 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -220,7 +220,7 @@ set_packet_list_mode (int mode)
       else
         listfp = es_stderr;
 
-      if (opt.debug && DBG_MPI_VALUE)
+      if (opt.debug & DBG_MPI_VALUE)
         mpi_print_mode = 1;
     }
   return old;

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



More information about the Pkg-gnupg-commit mailing list