[Pcsclite-cvs-commit] r5766 - /trunk/PCSC/src/winscard.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed May 25 07:42:05 UTC 2011


Author: rousseau
Date: Wed May 25 07:42:04 2011
New Revision: 5766

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5766
Log:
SCardConnect(): log at level PCSC_LOG_DEBUG instead of PCSC_LOG_ERROR if
no card is inserted

Thanks to Kalev Lember for the patch
https://bugzilla.redhat.com/show_bug.cgi?id=707412#c2

Modified:
    trunk/PCSC/src/winscard.c

Modified: trunk/PCSC/src/winscard.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard.c?rev=5766&op=diff
==============================================================================
--- trunk/PCSC/src/winscard.c (original)
+++ trunk/PCSC/src/winscard.c Wed May 25 07:42:04 2011
@@ -287,7 +287,7 @@
 	{
 		if (!(readerState & SCARD_PRESENT))
 		{
-			Log1(PCSC_LOG_ERROR, "Card Not Inserted");
+			Log1(PCSC_LOG_DEBUG, "Card Not Inserted");
 			return SCARD_E_NO_SMARTCARD;
 		}
 




More information about the Pcsclite-cvs-commit mailing list