[Pcsclite-cvs-commit] PCSC/src tokenfactory.c,1.22,1.23

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv29015/src

Modified Files:
	tokenfactory.c 
Log Message:
replace #ifdef MSC_DEBUG by #ifndef NO_MSC_DEBUG


Index: tokenfactory.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/tokenfactory.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- tokenfactory.c	8 Jul 2004 12:34:52 -0000	1.22
+++ tokenfactory.c	29 Jul 2004 20:44:26 -0000	1.23
@@ -187,7 +187,7 @@
 
 			atrIndex = 0;
 
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
 			DebugLogB("ATR comparison: FILE: %s", fullPath);
 			DebugLogB("ATR comparison: Target Match: %s", atrString);
 #endif
@@ -201,7 +201,7 @@
 					break;	/* No aliases found, break out of search
 							 * aliases loop */
 				}
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
 				DebugLogB("ATR comparison: Source: %s", keyValue);
 #endif
 
@@ -213,7 +213,7 @@
 					atrIndex += 1;
 					continue;
 				}
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
 				DebugLogB("Match found at ATR alias %d", atrIndex);
 #endif
 
@@ -236,7 +236,7 @@
 						return -1;
 					}
 				}
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
 				DebugLogB("Product name: %s", keyValue);
 #endif
 				strcpy(tokenInfo->tokenName, keyValue);
@@ -295,7 +295,7 @@
 
 				if (rv == 0)
 				{
-#ifdef MSC_DEBUG
+#ifndef NO_MSC_DEBUG
 					DebugLogB("Default AID name: %s", keyValue);
 #endif
 					rv = stringToBytes(keyValue, tokenInfo->tokenApp,