[Pcsclite-cvs-commit] r1743 - trunk/Drivers/ccid/examples
Ludovic Rousseau
rousseau at costa.debian.org
Thu Nov 24 15:32:42 UTC 2005
Author: rousseau
Date: 2005-11-24 15:32:41 +0000 (Thu, 24 Nov 2005)
New Revision: 1743
Modified:
trunk/Drivers/ccid/examples/scardcontrol.c
Log:
my check if the applet is present was wrong
Modified: trunk/Drivers/ccid/examples/scardcontrol.c
===================================================================
--- trunk/Drivers/ccid/examples/scardcontrol.c 2005-11-24 15:26:41 UTC (rev 1742)
+++ trunk/Drivers/ccid/examples/scardcontrol.c 2005-11-24 15:32:41 UTC (rev 1743)
@@ -277,7 +277,7 @@
printf(" %02X", bRecvBuffer[i]);
printf("\n");
PCSC_ERROR_EXIT(rv, "SCardTransmit")
- if ((bRecvBuffer[0] != 0x90) || (bRecvBuffer[0] != 0x00))
+ if ((bRecvBuffer[0] != 0x90) || (bRecvBuffer[1] != 0x00))
{
printf("Error: test applet not found!\n");
goto end;
More information about the Pcsclite-cvs-commit
mailing list