[Pcsclite-git-commit] [pcsc-tools] 01/03: pcsc_scan: log stressed reader name

Ludovic Rousseau rousseau at moszumanska.debian.org
Sat May 13 19:45:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository pcsc-tools.

commit 03db6a1eba98081801b06980ab7da741206183bc
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Sat May 13 18:28:48 2017 +0200

    pcsc_scan: log stressed reader name
    
    Display the reader name used by the stress() function.
    
    This is useful in a multi-reader configuration.
---
 pcsc_scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcsc_scan.c b/pcsc_scan.c
index 4af49f9..c280b05 100644
--- a/pcsc_scan.c
+++ b/pcsc_scan.c
@@ -106,7 +106,7 @@ static LONG stress(LONG hContext, const char *readerName)
 	DWORD dwActiveProtocol;
 	const SCARD_IO_REQUEST *pioSendPci;
 
-	printf("Stress card\n\n");
+	printf("Stress card in reader: %s\n\n", readerName);
 	rv = SCardConnect(hContext, readerName, SCARD_SHARE_SHARED,
          SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1, &hCard, &dwActiveProtocol);
 	if (rv != SCARD_S_SUCCESS)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/pcsc-tools.git



More information about the Pcsclite-cvs-commit mailing list