[Pcsclite-cvs-commit] r2731 - /trunk/PCSC/src/winscard_clnt.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jan 11 16:49:44 UTC 2008


Author: rousseau
Date: Fri Jan 11 16:49:44 2008
New Revision: 2731

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2731
Log:
CardCheckDaemonAvailability(): lower the priority of the log message in
case of "PCSC Not Running" so that nothing is logged by default.
PCSCLITE_DEBUG can be defined to see the message.

Programs linked with libpcsclite will not display anything if pcscd is
not running. Solves Red Hat bug 428299.

Modified:
    trunk/PCSC/src/winscard_clnt.c

Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=2731&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Fri Jan 11 16:49:44 2008
@@ -3469,7 +3469,7 @@
 
 	if (rv != 0)
 	{
-		Log1(PCSC_LOG_ERROR, "PCSC Not Running");
+		Log1(PCSC_LOG_INFO, "PCSC Not Running");
 		return SCARD_E_NO_SERVICE;
 	}
 




More information about the Pcsclite-cvs-commit mailing list