summaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2016-10-06 14:17:55 +0200
committerJustus Winter <justus@g10code.com>2016-10-06 14:17:55 +0200
commit6b626824c8e30b41c47724b5ccbf761937499512 (patch)
treec70f7427d3c94ed6185cd540de8f0c2a0a7bce6f /g10/parse-packet.c
parenttools: Improve error handling. (diff)
downloadgnupg2-6b626824c8e30b41c47724b5ccbf761937499512.tar.xz
gnupg2-6b626824c8e30b41c47724b5ccbf761937499512.zip
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@g10code.com>
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r--g10/parse-packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 9a733b521..86c2be4ad 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;