[Pcsclite-cvs-commit] r3248 - /trunk/PCSC/src/readerfactory.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jan 2 13:28:32 UTC 2009


Author: rousseau
Date: Fri Jan  2 13:28:32 2009
New Revision: 3248

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3248
Log:
reformat

Modified:
    trunk/PCSC/src/readerfactory.c

Modified: trunk/PCSC/src/readerfactory.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/readerfactory.c?rev=3248&op=diff
==============================================================================
--- trunk/PCSC/src/readerfactory.c (original)
+++ trunk/PCSC/src/readerfactory.c Fri Jan  2 13:28:32 2009
@@ -52,7 +52,7 @@
 
 LONG RFAllocateReaderSpace(void)
 {
-	int i;   					/* Counter */
+	int i;	/* Counter */
 
 	/*
 	 * Allocate each reader structure
@@ -202,7 +202,7 @@
 		 */
 		dwGetSize = sizeof(ucThread);
 		rv = IFDGetCapabilities((sReadersContexts[parentNode]),
-		       TAG_IFD_THREAD_SAFE, &dwGetSize, ucThread);
+			TAG_IFD_THREAD_SAFE, &dwGetSize, ucThread);
 
 		if (rv == IFD_SUCCESS && dwGetSize == 1 && ucThread[0] == 1)
 		{
@@ -355,9 +355,9 @@
 		(sReadersContexts[dwContextB])->vHandle =
 		  (sReadersContexts[dwContext])->vHandle;
 		(sReadersContexts[dwContextB])->mMutex =
-		   (sReadersContexts[dwContext])->mMutex;
+		  (sReadersContexts[dwContext])->mMutex;
 		(sReadersContexts[dwContextB])->pdwMutex =
-		   (sReadersContexts[dwContext])->pdwMutex;
+		  (sReadersContexts[dwContext])->pdwMutex;
 		sReadersContexts[dwContextB]->dwSlot =
 			sReadersContexts[dwContext]->dwSlot + j;
 
@@ -1537,15 +1537,15 @@
 	for (i = 0; i < PCSCLITE_MAX_READERS_CONTEXTS; i++)
 	{
 		/* If the library is loaded and the event handler is not running */
-		if ( ((sReadersContexts[i])->vHandle   != 0) &&
-		     ((sReadersContexts[i])->pthThread == 0) )
+		if ( ((sReadersContexts[i])->vHandle != 0) &&
+			((sReadersContexts[i])->pthThread == 0) )
 		{
 			int j;
 
 			for (j=0; j < i; j++)
 			{
 				if (((sReadersContexts[j])->vHandle == (sReadersContexts[i])->vHandle)&&
-					((sReadersContexts[j])->dwPort   == (sReadersContexts[i])->dwPort))
+					((sReadersContexts[j])->dwPort == (sReadersContexts[i])->dwPort))
 				{
 					initFlag = 1;
 				}




More information about the Pcsclite-cvs-commit mailing list