[Pcsclite-cvs-commit] Drivers/ccid/src/openct proto-t1.c,1.11,1.12

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/Drivers/ccid/src/openct
In directory haydn:/tmp/cvs-serv8385/openct

Modified Files:
	proto-t1.c 
Log Message:
remove "|| sent_length" in "if (retries == 0 || sent_length)" since it
is an OpenCT code that should not be needed with the new automata.


Index: proto-t1.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/openct/proto-t1.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- proto-t1.c	20 Jul 2004 09:16:26 -0000	1.11
+++ proto-t1.c	20 Jul 2004 09:19:41 -0000	1.12
@@ -303,7 +303,7 @@
 				else
 				{
 					DEBUG_COMM("R-Block required");
-					if (retries == 0 || sent_length)
+					if (retries == 0)
 						goto resync;
 					slen = t1_build(t1, sdata,
 							dad, T1_R_BLOCK | T1_OTHER_ERROR,