[Pcsclite-cvs-commit] r4271 - /trunk/PCSC/src/winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Jun 23 08:12:06 UTC 2009
Author: rousseau
Date: Tue Jun 23 08:12:05 2009
New Revision: 4271
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4271
Log:
SCardGetStatusChange(): fix in revision r4269 was not correct.
Thanks (again) to Toon Claes for the bug report
Modified:
trunk/PCSC/src/winscard_clnt.c
Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=4271&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Tue Jun 23 08:12:05 2009
@@ -2078,8 +2078,8 @@
/* Now we check all the Reader States */
dwState = rContext->readerState;
- /* only if current state is not SCARD_STATE_EMPTY */
- if (!(currReader->dwCurrentState & SCARD_STATE_EMPTY))
+ /* only if current state has an non null event counter */
+ if (currReader->dwCurrentState & 0xFFFF0000)
{
int currentCounter, stateCounter;
More information about the Pcsclite-cvs-commit
mailing list