[Pcsclite-cvs-commit] r2638 - /trunk/PCSC/src/testpcsc.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Oct 11 08:36:39 UTC 2007


Author: rousseau
Date: Thu Oct 11 08:36:39 2007
New Revision: 2638

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2638
Log:
increase readername len from 50 to 100 since we now support longer
reader names

Modified:
    trunk/PCSC/src/testpcsc.c

Modified: trunk/PCSC/src/testpcsc.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/testpcsc.c?rev=2638&op=diff
==============================================================================
--- trunk/PCSC/src/testpcsc.c (original)
+++ trunk/PCSC/src/testpcsc.c Thu Oct 11 08:36:39 2007
@@ -272,8 +272,8 @@
 
 	printf("Testing SCardStatus\t\t: ");
 
-	dwReaderLen = 50;
-	pcReaders   = malloc(sizeof(char) * 50);
+	dwReaderLen = 100;
+	pcReaders   = malloc(sizeof(char) * 100);
 	dwAtrLen    = MAX_ATR_SIZE;
 
 	rv = SCardStatus(hCard, pcReaders, &dwReaderLen, &dwState, &dwProt,




More information about the Pcsclite-cvs-commit mailing list