[Pcsclite-cvs-commit] r2111 - trunk/HandlerTest/Host

Ludovic Rousseau rousseau at costa.debian.org
Wed Jul 12 09:55:24 UTC 2006


Author: rousseau
Date: 2006-07-12 09:55:24 +0000 (Wed, 12 Jul 2006)
New Revision: 2111

Modified:
   trunk/HandlerTest/Host/handler_test.c
Log:
initialise test_rv to an error code since we may not even start the test
routine if we have a problem before that


Modified: trunk/HandlerTest/Host/handler_test.c
===================================================================
--- trunk/HandlerTest/Host/handler_test.c	2006-07-12 09:52:30 UTC (rev 2110)
+++ trunk/HandlerTest/Host/handler_test.c	2006-07-12 09:55:24 UTC (rev 2111)
@@ -266,7 +266,7 @@
 
 int handler_test(int lun, int channel, char device_name[])
 {
-	int rv, test_rv = 0;
+	int rv, test_rv = 1;
 	UCHAR atr[MAX_ATR_SIZE];
 	DWORD atrlength;
 




More information about the Pcsclite-cvs-commit mailing list