2803499a70
"rv=0x... for client" and "Card Not Inserted" should be DEBUG log level, not ERROR.
25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
diff -up pcsc-lite-1.7.2/src/winscard.c.loglevel pcsc-lite-1.7.2/src/winscard.c
|
|
--- pcsc-lite-1.7.2/src/winscard.c.loglevel 2011-02-02 15:43:35.000000000 +0200
|
|
+++ pcsc-lite-1.7.2/src/winscard.c 2011-05-25 06:41:21.012756755 +0300
|
|
@@ -287,7 +287,7 @@ LONG SCardConnect(/*@unused@*/ SCARDCONT
|
|
{
|
|
if (!(readerState & SCARD_PRESENT))
|
|
{
|
|
- Log1(PCSC_LOG_ERROR, "Card Not Inserted");
|
|
+ Log1(PCSC_LOG_DEBUG, "Card Not Inserted");
|
|
return SCARD_E_NO_SMARTCARD;
|
|
}
|
|
|
|
diff -up pcsc-lite-1.7.2/src/winscard_svc.c.loglevel pcsc-lite-1.7.2/src/winscard_svc.c
|
|
--- pcsc-lite-1.7.2/src/winscard_svc.c.loglevel 2011-01-29 15:50:59.000000000 +0200
|
|
+++ pcsc-lite-1.7.2/src/winscard_svc.c 2011-05-25 06:41:21.011756744 +0300
|
|
@@ -285,7 +285,7 @@ static const char *CommandsText[] = {
|
|
#define WRITE_BODY(v) \
|
|
WRITE_BODY_WITH_COMMAND(CommandsText[header.command], v)
|
|
#define WRITE_BODY_WITH_COMMAND(command, v) \
|
|
- Log4(SCARD_S_SUCCESS == v.rv ? PCSC_LOG_DEBUG : PCSC_LOG_ERROR, "%s rv=0x%X for client %d", command, v.rv, filedes); \
|
|
+ Log4(PCSC_LOG_DEBUG, "%s rv=0x%X for client %d", command, v.rv, filedes); \
|
|
ret = MessageSend(&v, sizeof(v), filedes);
|
|
|
|
static void ContextThread(LPVOID newContext)
|