[Pcsclite-cvs-commit] r2594 - trunk/PCSC/doc/example
rousseau at alioth.debian.org
rousseau at alioth.debian.org
Mon Jul 2 15:13:08 UTC 2007
Author: rousseau
Date: 2007-07-02 15:13:08 +0000 (Mon, 02 Jul 2007)
New Revision: 2594
Modified:
trunk/PCSC/doc/example/pcsc_demo.c
Log:
use PCSC_ERROR() also for the second SCardListReaders()
Modified: trunk/PCSC/doc/example/pcsc_demo.c
===================================================================
--- trunk/PCSC/doc/example/pcsc_demo.c 2007-07-02 13:06:41 UTC (rev 2593)
+++ trunk/PCSC/doc/example/pcsc_demo.c 2007-07-02 15:13:08 UTC (rev 2594)
@@ -99,8 +99,7 @@
}
rv = SCardListReaders(hContext, NULL, mszReaders, &dwReaders);
- if (rv != SCARD_S_SUCCESS)
- printf("SCardListReader: %lX\n", rv);
+ PCSC_ERROR(rv, "SCardListReaders")
/* Extract readers from the null separated string and get the total
* number of readers */
More information about the Pcsclite-cvs-commit
mailing list