[Pcsclite-cvs-commit] PCSC/src musclecard.c,1.37,1.38
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv27614/src
Modified Files:
musclecard.c
Log Message:
replace #ifdef MSC_DEBUG by #ifndef NO_MSC_DEBUG
Index: musclecard.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/musclecard.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- musclecard.c 10 Jun 2004 14:57:47 -0000 1.37
+++ musclecard.c 29 Jul 2004 20:43:31 -0000 1.38
@@ -308,7 +308,7 @@
if (localHContext == 0)
{
rv = SCardEstablishContext(SCARD_SCOPE_SYSTEM, 0, 0, &localHContext);
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
DebugLogB("SCardEstablishContext returns %s",
pcsc_stringify_error(rv));
#endif
@@ -336,7 +336,7 @@
&pConnection->hCard, &dwActiveProtocol);
#endif
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
DebugLogB("SCardConnect returns %s", pcsc_stringify_error(rv));
#endif
@@ -369,7 +369,7 @@
rv = SCardStatus(pConnection->hCard, slotName,
&slotNameSize, &slotState, &slotProtocol, tokenId, &tokenIdLength);
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
DebugLogB("SCardStatus returns %s", pcsc_stringify_error(rv));
#endif
@@ -411,7 +411,7 @@
*/
rv = TPLoadToken(pConnection);
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
DebugLogB("TPLoadToken returns %s", pcsc_stringify_error(rv));
#endif
@@ -483,7 +483,7 @@
rv = (*libPL_MSCIdentifyToken) (pConnection);
}
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
DebugLogB("MSCIdentifyToken returns %s", msc_error(rv));
#endif