[Pcsclite-cvs-commit] PCSC/src readerfactory.c,1.32,1.33

sauveron-guest@quantz.debian.org sauveron-guest@quantz.debian.org
Tue, 13 Jan 2004 18:54:06 +0100


Update of /cvsroot/pcsclite/PCSC/src
In directory quantz:/tmp/cvs-serv6513/src

Modified Files:
	readerfactory.c 
Log Message:
Modify tests in order to be homogeneous with those for next IFDHandlers versions

Index: readerfactory.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/readerfactory.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- readerfactory.c	21 Oct 2003 19:59:18 -0000	1.32
+++ readerfactory.c	13 Jan 2004 17:54:03 -0000	1.33
@@ -1001,7 +1001,7 @@
 	 * The following binds version 1.0 of the IFD Handler specs 
 	 */
 
-	if (rContext->dwVersion & IFD_HVERSION_1_0)
+	if (rContext->dwVersion == IFD_HVERSION_1_0)
 	{
 
 		DebugLogA("RFBindFunctions: Loading IFD Handler 1.0");
@@ -1128,7 +1128,7 @@
 		 * The following binds version 2.0 of the IFD Handler specs 
 		 */
 
-	} else if (rContext->dwVersion & IFD_HVERSION_2_0)
+	} else if (rContext->dwVersion == IFD_HVERSION_2_0)
 	{
 
 		DebugLogA("RFBindFunctions: Loading IFD Handler 2.0");