[Pcsclite-cvs-commit] r2082 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Fri Jun 30 14:04:34 UTC 2006


Author: rousseau
Date: 2006-06-30 14:04:33 +0000 (Fri, 30 Jun 2006)
New Revision: 2082

Modified:
   trunk/Drivers/ccid/src/ccid.c
Log:
ccid_error(): display the value of the Unknown CCID error code


Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c	2006-06-28 16:51:12 UTC (rev 2081)
+++ trunk/Drivers/ccid/src/ccid.c	2006-06-30 14:04:33 UTC (rev 2082)
@@ -349,7 +349,8 @@
 				text = var_text;
 			}
 			else
-				text = "Unknown CCID error";
+				sprintf(var_text, "Unknown CCID error: 0x%02X", error);
+				text = var_text;
 			break;
 	}
 	log_msg(PCSC_LOG_ERROR, "%s:%d:%s %s", file, line, function, text);




More information about the Pcsclite-cvs-commit mailing list