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

Ludovic Rousseau rousseau at alioth.debian.org
Mon Dec 25 23:29:27 CET 2006


Author: rousseau
Date: 2006-12-25 23:29:27 +0100 (Mon, 25 Dec 2006)
New Revision: 2284

Modified:
   trunk/PCSC/src/ifdwrapper.c
Log:
IFDStatusICC(): correctly set card status to SCARD_UNKNOWN. patch in
revision 2283 was bogus


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




More information about the Pcsclite-cvs-commit mailing list