[Pcsclite-cvs-commit] r2283 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Mon Dec 25 23:01:55 CET 2006


Author: rousseau
Date: 2006-12-25 23:01:55 +0100 (Mon, 25 Dec 2006)
New Revision: 2283

Modified:
   trunk/PCSC/src/ifdwrapper.c
Log:
IFDStatusICC(): if IFDHICCPresence() set card status to SCARD_UNKNOWN
instead of an uninitialised value


Modified: trunk/PCSC/src/ifdwrapper.c
===================================================================
--- trunk/PCSC/src/ifdwrapper.c	2006-12-25 21:42:44 UTC (rev 2282)
+++ trunk/PCSC/src/ifdwrapper.c	2006-12-25 22:01:55 UTC (rev 2283)
@@ -491,6 +491,7 @@
 		else
 		{
 			Log2(PCSC_LOG_ERROR, "Card not transacted: %ld", rv);
+			dwCardStatus = SCARD_UNKNOWN;
 
 			if (rv == IFD_NO_SUCH_DEVICE)
 			{




More information about the Pcsclite-cvs-commit mailing list