[Pcsclite-cvs-commit] CVS HandlerTest/Host
CVS User rousseau
ludovic.rousseau@free.fr
Fri, 22 Apr 2005 09:01:16 +0000
Update of /cvsroot/pcsclite/HandlerTest/Host
In directory haydn:/tmp/cvs-serv7951
Modified Files:
handler_test.c
Log Message:
use the new log API (log_xxd instead of debug_xxd)
--- /cvsroot/pcsclite/HandlerTest/Host/handler_test.c 2005/02/02 17:31:40 1.20
+++ /cvsroot/pcsclite/HandlerTest/Host/handler_test.c 2005/04/22 09:01:16 1.21
@@ -18,7 +18,7 @@
*/
/*
- * $Id: handler_test.c,v 1.20 2005/02/02 17:31:40 rousseau Exp $
+ * $Id: handler_test.c,v 1.21 2005/04/22 09:01:16 rousseau Exp $
*/
#include <stdio.h>
@@ -309,7 +309,7 @@
cmd, sizeof(cmd)-1, res, sizeof(res), &length);
if (IFD_SUCCESS == rv)
{
- debug_xxd("Firmware: ", res, length);
+ log_xxd(0, "Firmware: ", res, length);
res[length] = '\0';
printf("Firmware: %s\n", res);
}
@@ -330,7 +330,7 @@
goto end;
}
- debug_xxd("ATR: ", atr, atrlength);
+ log_xxd(0, "ATR: ", atr, atrlength);
rv = f.IFDHICCPresence(LUN);
PCSC_ERROR("IFDHICCPresence");
@@ -793,11 +793,11 @@
int rv, i;
printf("\n%s\n", text);
- debug_xxd("Sent: ", s, s_length);
+ log_xxd(0, "Sent: ", s, s_length);
rv = f.IFDHTransmitToICC(lun, SendPci, s, s_length, r, r_length, RecvPci);
- debug_xxd("Received: ", r, *r_length);
+ log_xxd(0, "Received: ", r, *r_length);
if (rv)
{
PCSC_ERROR("IFDHTransmitToICC");