[Pcsclite-cvs-commit] r5496 - /trunk/PCSC/src/readerfactory.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Jan 7 15:16:09 UTC 2011
Author: rousseau
Date: Fri Jan 7 15:16:05 2011
New Revision: 5496
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5496
Log:
RFAddReader(): correctly initialize the pthCardEvent field for the other
slots. The bug occured with a multi slot reader and a driver with no
TAG_IFD_POLLING_THREAD_WITH_TIMEOUT function (as is the case with my
CCID driver since revision 5495)
Modified:
trunk/PCSC/src/readerfactory.c
Modified: trunk/PCSC/src/readerfactory.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/readerfactory.c?rev=5496&op=diff
==============================================================================
--- trunk/PCSC/src/readerfactory.c (original)
+++ trunk/PCSC/src/readerfactory.c Fri Jan 7 15:16:05 2011
@@ -368,6 +368,7 @@
sReadersContexts[dwContext]->pMutex;
sReadersContexts[dwContextB]->slot =
sReadersContexts[dwContext]->slot + j;
+ sReadersContexts[dwContextB]->pthCardEvent = NULL;
/*
* Added by Dave - slots did not have a pFeeds
More information about the Pcsclite-cvs-commit
mailing list