[Pcsclite-cvs-commit] r5895 - in /trunk/Drivers/ccid/src: Makefile.am ccid.h commands.c parse.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Aug 20 18:44:05 UTC 2011


Author: rousseau
Date: Sat Aug 20 18:44:04 2011
New Revision: 5895

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5895
Log:
Remove extra spaces and tabs

Modified:
    trunk/Drivers/ccid/src/Makefile.am
    trunk/Drivers/ccid/src/ccid.h
    trunk/Drivers/ccid/src/commands.c
    trunk/Drivers/ccid/src/parse.c

Modified: trunk/Drivers/ccid/src/Makefile.am
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/Makefile.am?rev=5895&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/Makefile.am (original)
+++ trunk/Drivers/ccid/src/Makefile.am Sat Aug 20 18:44:04 2011
@@ -79,7 +79,7 @@
 
 Info.plist: Info.plist.src $(srcdir)/../readers/supported_readers.txt
 	$(srcdir)/create_Info_plist.pl $(srcdir)/../readers/supported_readers.txt $(srcdir)/Info.plist.src --target=$(CCID_LIB) --version=$(VERSION) --bundle=$(CCID_BUNDLE) $(NOCLASS) > Info.plist
-	
+
 DISTCLEANFILES = tokenparser.c Info.plist
 
 install_ccid: libccid.la Info.plist

Modified: trunk/Drivers/ccid/src/ccid.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.h?rev=5895&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.h (original)
+++ trunk/Drivers/ccid/src/ccid.h Sat Aug 20 18:44:04 2011
@@ -53,7 +53,7 @@
 	 * PIN support of the reader (directly from Class Descriptor)
 	 */
 	char bPINSupport;
-	
+
 	/*
 	 * Display dimensions of the reader (directly from Class Descriptor)
 	 */
@@ -182,7 +182,7 @@
 #define MYSMARTPAD	0x09BE0002
 #define CHERRYXX44	0x046a0010
 #define CL1356D		0x0B810200
-#define REINER_SCT	0x0C4B0300 
+#define REINER_SCT	0x0C4B0300
 #define SEG			0x08E68000
 #define BLUDRIVEII_CCID	0x1B0E1078
 #define DELLSCRK    0x413C2101

Modified: trunk/Drivers/ccid/src/commands.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/commands.c?rev=5895&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/commands.c (original)
+++ trunk/Drivers/ccid/src/commands.c Sat Aug 20 18:44:04 2011
@@ -318,8 +318,8 @@
 	}
 
 	/* On little endian machines we are all set. */
-	/* If on big endian machine and caller is using host byte order */ 
-	if ((pvs->ulDataLength + 19  == TxLength) && 
+	/* If on big endian machine and caller is using host byte order */
+	if ((pvs->ulDataLength + 19  == TxLength) &&
 		(bei2i((unsigned char*)(&pvs->ulDataLength)) == pvs->ulDataLength))
 	{
 		DEBUG_INFO("Reversing order from big to little endian");
@@ -329,8 +329,8 @@
 		pvs->wLangId = BSWAP_16(pvs->wLangId);
 		pvs->ulDataLength = BSWAP_32(pvs->ulDataLength);
 	}
-	/* At this point we now have the above 3 variables in little endian */ 
-	
+	/* At this point we now have the above 3 variables in little endian */
+
 	if (dw2i(TxBuffer, 15) + 19 != TxLength) /* ulDataLength field coherency */
 	{
 		DEBUG_INFO3("Wrong lengths: %d %d", dw2i(TxBuffer, 15) + 19, TxLength);
@@ -552,8 +552,8 @@
 	}
 
 	/* On little endian machines we are all set. */
-	/* If on big endian machine and caller is using host byte order */ 
-	if ((pms->ulDataLength + 24  == TxLength) && 
+	/* If on big endian machine and caller is using host byte order */
+	if ((pms->ulDataLength + 24  == TxLength) &&
 		(bei2i((unsigned char*)(&pms->ulDataLength)) == pms->ulDataLength))
 	{
 		DEBUG_INFO("Reversing order from big to little endian");
@@ -563,7 +563,7 @@
 		pms->wLangId = BSWAP_16(pms->wLangId);
 		pms->ulDataLength = BSWAP_32(pms->ulDataLength);
 	}
-	/* At this point we now have the above 3 variables in little endian */ 
+	/* At this point we now have the above 3 variables in little endian */
 
 
 	if (dw2i(TxBuffer, 20) + 24 != TxLength) /* ulDataLength field coherency */

Modified: trunk/Drivers/ccid/src/parse.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/parse.c?rev=5895&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/parse.c (original)
+++ trunk/Drivers/ccid/src/parse.c Sat Aug 20 18:44:04 2011
@@ -238,7 +238,7 @@
  *
  ****************************************************************************/
 static int ccid_parse_interface_descriptor(libusb_device_handle *handle,
-	struct libusb_device_descriptor desc, 
+	struct libusb_device_descriptor desc,
 	struct libusb_config_descriptor *config_desc,
 	int num,
 	const struct libusb_interface *usb_interface)
@@ -425,7 +425,7 @@
 			}
 		}
 		else
-			if (n % 4) 	/* not a multiple of 4 */
+			if (n % 4)	/* not a multiple of 4 */
 				(void)printf("   wrong size for GET CLOCK FREQUENCIES: %d\n", n);
 			else
 			{
@@ -470,7 +470,7 @@
 			(void)printf("   IFD does not support GET_DATA_RATES request: %s\n",
 				strerror(errno));
 		else
-			if (n % 4) 	/* not a multiple of 4 */
+			if (n % 4)	/* not a multiple of 4 */
 				(void)printf("   wrong size for GET_DATA_RATES: %d\n", n);
 			else
 			{




More information about the Pcsclite-cvs-commit mailing list