[Pcsclite-cvs-commit] r4294 - /trunk/PCSC/src/tokenparser.l
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Jul 3 09:55:06 UTC 2009
Author: rousseau
Date: Fri Jul 3 09:55:05 2009
New Revision: 4294
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4294
Log:
LTPBundleFindValueWithKey(): do not log an error if no more values are
found
Modified:
trunk/PCSC/src/tokenparser.l
Modified: trunk/PCSC/src/tokenparser.l
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/tokenparser.l?rev=4294&op=diff
==============================================================================
--- trunk/PCSC/src/tokenparser.l (original)
+++ trunk/PCSC/src/tokenparser.l Fri Jul 3 09:55:05 2009
@@ -168,7 +168,7 @@
Log3(PCSC_LOG_CRITICAL, "Could not open bundle file %s: %s",
fileName, strerror(errno));
- if (-1 == ret)
+ if ((-1 == ret) && (0 == tokenIndice))
/* Not defined at all */
Log3(PCSC_LOG_CRITICAL, "Value/Key not defined for: %s in %s",
tokenKey, fileName);
More information about the Pcsclite-cvs-commit
mailing list