[Pcsclite-cvs-commit] r2563 - trunk/PCSC/doc/example

rousseau at alioth.debian.org rousseau at alioth.debian.org
Sun Jun 17 12:10:56 UTC 2007


Author: rousseau
Date: 2007-06-17 12:10:55 +0000 (Sun, 17 Jun 2007)
New Revision: 2563

Modified:
   trunk/PCSC/doc/example/pcsc_demo.c
Log:
use EXIT_FAILURE instead of 1


Modified: trunk/PCSC/doc/example/pcsc_demo.c
===================================================================
--- trunk/PCSC/doc/example/pcsc_demo.c	2007-06-17 11:53:37 UTC (rev 2562)
+++ trunk/PCSC/doc/example/pcsc_demo.c	2007-06-17 12:10:55 UTC (rev 2563)
@@ -79,7 +79,7 @@
 	if (rv != SCARD_S_SUCCESS)
 	{
 		printf("SCardEstablishContext: Cannot Connect to Resource Manager %lX\n", rv);
-		return 1;
+		return EXIT_FAILURE;
 	}
 
 	/* Retrieve the available readers list.




More information about the Pcsclite-cvs-commit mailing list