[Pcsclite-cvs-commit] r2128 - trunk/PCSC/src
Ludovic Rousseau
rousseau at costa.debian.org
Tue Aug 8 15:05:58 UTC 2006
Author: rousseau
Date: 2006-08-08 15:05:57 +0000 (Tue, 08 Aug 2006)
New Revision: 2128
Modified:
trunk/PCSC/src/winscard_svc.c
Log:
CreateContextThread(): log an error message in case of failuer since the
pcscd daemon will die shortly after that
Modified: trunk/PCSC/src/winscard_svc.c
===================================================================
--- trunk/PCSC/src/winscard_svc.c 2006-08-08 14:51:43 UTC (rev 2127)
+++ trunk/PCSC/src/winscard_svc.c 2006-08-08 15:05:57 UTC (rev 2128)
@@ -91,6 +91,8 @@
{
SYS_CloseFile(psContext[i].dwClientID);
psContext[i].dwClientID = 0;
+ Log2(PCSC_LOG_CRITICAL, "No more context available (max: %d)",
+ PCSCLITE_MAX_APPLICATIONS_CONTEXTS);
return SCARD_F_INTERNAL_ERROR;
}
@@ -100,6 +102,7 @@
{
SYS_CloseFile(psContext[i].dwClientID);
psContext[i].dwClientID = 0;
+ Log1(PCSC_LOG_CRITICAL, "SYS_ThreadCreate failed");
return SCARD_E_NO_MEMORY;
}
More information about the Pcsclite-cvs-commit
mailing list