[Pcsclite-cvs-commit] r2769 - /trunk/PCSC/src/error.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Jan 29 08:56:35 UTC 2008
Author: rousseau
Date: Tue Jan 29 08:56:35 2008
New Revision: 2769
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2769
Log:
pcsc_stringify_error(): add support of SCARD_E_NO_READERS_AVAILABLE
Modified:
trunk/PCSC/src/error.c
Modified: trunk/PCSC/src/error.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/error.c?rev=2769&op=diff
==============================================================================
--- trunk/PCSC/src/error.c (original)
+++ trunk/PCSC/src/error.c Tue Jan 29 08:56:35 2008
@@ -159,6 +159,9 @@
case SCARD_E_SERVICE_STOPPED:
strlcpy(strError, "Service was stopped.", sizeof(strError));
break;
+ case SCARD_E_NO_READERS_AVAILABLE:
+ strlcpy(strError, "Cannot find a smart card reader.", sizeof(strError));
+ break;
default:
snprintf(strError, sizeof(strError)-1, "Unkown error: 0x%08lX",
pcscError);
More information about the Pcsclite-cvs-commit
mailing list