summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-11-11 14:50:49 +0100
committerWerner Koch <wk@gnupg.org>2020-11-11 15:23:26 +0100
commit23f1fc766af0b8585e100cd75c4b571fe3dad831 (patch)
tree5770743bbb64dda75ea6249a80f5dc822c68ee1e /scd
parentw32: Replace some fopen by es_fopen. (diff)
downloadgnupg2-23f1fc766af0b8585e100cd75c4b571fe3dad831.tar.xz
gnupg2-23f1fc766af0b8585e100cd75c4b571fe3dad831.zip
scd: Do not print reader status change with --debug cardio.
-- ... but use --debug reader for this. Signed-off-by: Werner Koch <wk@gnupg.org> (cherry picked from commit bd3b698d8ec427a02f2fa793777f2a88bc356f25)
Diffstat (limited to 'scd')
-rw-r--r--scd/apdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index 8a3b5b411..a7512ee9a 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -698,7 +698,7 @@ pcsc_get_status (int slot, unsigned int *status, int on_wire)
reader_table[slot].pcsc.current_state =
(rdrstates[0].event_state & ~PCSC_STATE_CHANGED);
- if (DBG_CARD_IO)
+ if (DBG_READER)
log_debug
("pcsc_get_status_change: %s%s%s%s%s%s%s%s%s%s\n",
(rdrstates[0].event_state & PCSC_STATE_IGNORE)? " ignore":"",