g10: Fix testing for debug flag.
authorJustus Winter <justus@g10code.com>
Thu, 6 Oct 2016 12:17:55 +0000 (14:17 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 6 Oct 2016 12:17:55 +0000 (14:17 +0200)
* g10/parse-packet.c (set_packet_list_mode): Fix testing for debug
flag.

Signed-off-by: Justus Winter <justus@g10code.com>
g10/parse-packet.c

index 9a733b5..86c2be4 100644 (file)
@@ -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;