bankd_pcsc: Improve logging in non-error case
Before this commit, the PCSC operation (e.g. SCardStatus) is only printed in the error case, but not in the debug case. Let's fix that. [000 CONN_CLIENT_MAPPED_CARD] bankd_pcsc.c:196 : OK will become [000 CONN_CLIENT_MAPPED_CARD] bankd_pcsc.c:196 SCardTransmit: OK Change-Id: I3c77655c5d1f76be778cb8873d8acf1343c87b05
This commit is contained in:
parent
7b87ba1e38
commit
168d72478e
|
@ -178,7 +178,7 @@ if (rv != SCARD_S_SUCCESS) { \
|
|||
LOGW_PCSC_ERROR(w, rv, text); \
|
||||
goto end; \
|
||||
} else { \
|
||||
LOGW((w), ": OK\n"); \
|
||||
LOGW((w), text ": OK\n"); \
|
||||
}
|
||||
|
||||
static int pcsc_get_atr(struct bankd_worker *worker)
|
||||
|
|
Loading…
Reference in New Issue