[Pcsclite-cvs-commit] CVS HandlerTest/Host
CVS User rousseau
ludovic.rousseau@free.fr
Thu, 30 Sep 2004 08:12:53 -0600
Update of /cvsroot/pcsclite/HandlerTest/Host
In directory haydn:/tmp/cvs-serv2614
Modified Files:
handler_test.c
Log Message:
fd_error(): add support of IFD_ERROR_POWER_ACTION
--- /cvsroot/pcsclite/HandlerTest/Host/handler_test.c 2004/09/21 17:15:42 1.18
+++ /cvsroot/pcsclite/HandlerTest/Host/handler_test.c 2004/09/30 14:12:53 1.19
@@ -18,7 +18,7 @@
*/
/*
- * $Id: handler_test.c,v 1.18 2004/09/21 17:15:42 rousseau Exp $
+ * $Id: handler_test.c,v 1.19 2004/09/30 14:12:53 rousseau Exp $
*/
#include <stdio.h>
@@ -773,8 +773,12 @@
strcpy(strError, "IFD: not supported");
break;
+ case IFD_ERROR_POWER_ACTION:
+ strcpy(strError, "IFD: power up failed");
+ break;
+
default:
- snprintf(strError, sizeof(strError)-1, "IFD: undocumented error: 0x%X", rv);
+ snprintf(strError, sizeof(strError)-1, "IFD: undocumented error: %d", rv);
}
return strError;