[Pcsclite-cvs-commit] CVS PCSC/src
CVS User rousseau
ludovic.rousseau@free.fr
Fri, 03 Sep 2004 13:45:40 -0600
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv23376/src
Modified Files:
prothandler.c
Log Message:
PHSetProtocol(): add the error code returned by the driver in case of
PTS failure in the debug message
--- /cvsroot/pcsclite/PCSC/src/prothandler.c 2004/08/06 12:12:20 1.15
+++ /cvsroot/pcsclite/PCSC/src/prothandler.c 2004/09/03 19:45:40 1.16
@@ -8,7 +8,7 @@
* Copyright (C) 2004
* Ludovic Rousseau <ludovic.rousseau@free.fr>
*
- * $Id: prothandler.c,v 1.15 2004/08/06 12:12:20 rousseau Exp $
+ * $Id: prothandler.c,v 1.16 2004/09/03 19:45:40 rousseau Exp $
*/
#include "config.h"
@@ -134,7 +134,7 @@
(SCARD_PROTOCOL_T0 == protocol) ? 0 : 1);
else
{
- DebugLogB("PTS failed, using T=%d",
+ DebugLogC("PTS failed (%d), using T=%d", rv,
(SCARD_PROTOCOL_T0 == protocol) ? 0 : 1);
/* ISO 7816-3:1997 ch. 7.2 PPS protocol page 14