[Pcsclite-cvs-commit] PCSC/src winscard.c,1.32,1.33

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


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv26191/src

Modified Files:
	winscard.c 
Log Message:
the protocol number in the "Send Protocol:" debug message was wrong


Index: winscard.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/winscard.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- winscard.c	18 Jun 2004 08:44:31 -0000	1.32
+++ winscard.c	18 Jun 2004 14:37:28 -0000	1.33
@@ -1413,12 +1413,8 @@
 
 	sSendPci.Length = pioSendPci->cbPciLength;
 
-	if ((sSendPci.Protocol != SCARD_PROTOCOL_T0)
-		&& (sSendPci.Protocol != SCARD_PROTOCOL_T1))
-		DebugLogB("Send Protocol: unknown %d", sSendPci.Protocol);
-	else
-		DebugLogB("Send Protocol: T=%d",
-			(sSendPci.Protocol == SCARD_PROTOCOL_T0) ? 0 : 1);
+	/* the protocol number is decoded a few lines above */
+	DebugLogB("Send Protocol: T=%d", sSendPci.Protocol);
 
 	tempRxLength = dwRxLength;