[Pcsclite-cvs-commit] CVS PCSC/src

CVS User rousseau ludovic.rousseau@free.fr
Wed, 20 Oct 2004 14:49:15 -0600


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

Modified Files:
	debuglog.c 
Log Message:
pcsc_stringify_error(): differentiate the error messages for
SCARD_F_INTERNAL_ERROR and SCARD_F_UNKNOWN_ERROR


--- /cvsroot/pcsclite/PCSC/src/debuglog.c	2004/09/07 08:40:44	1.26
+++ /cvsroot/pcsclite/PCSC/src/debuglog.c	2004/10/20 20:49:15	1.27
@@ -7,7 +7,7 @@
  *  David Corcoran <corcoran@linuxnet.com>
  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
  *
- * $Id: debuglog.c,v 1.26 2004/09/07 08:40:44 rousseau Exp $
+ * $Id: debuglog.c,v 1.27 2004/10/20 20:49:15 rousseau Exp $
  */
 
 #include "config.h"
@@ -220,10 +220,10 @@
 		strlcpy(strError, "RPC transport error.", sizeof(strError));
 		break;
 	case SCARD_F_INTERNAL_ERROR:
-		strlcpy(strError, "Unknown internal error.", sizeof(strError));
+		strlcpy(strError, "Internal error.", sizeof(strError));
 		break;
 	case SCARD_F_UNKNOWN_ERROR:
-		strlcpy(strError, "Unknown internal error.", sizeof(strError));
+		strlcpy(strError, "Unknown error.", sizeof(strError));
 		break;
 	case SCARD_F_WAITED_TOO_LONG:
 		strlcpy(strError, "Waited too long.", sizeof(strError));