[Pcsclite-cvs-commit] r5164 - /trunk/Drivers/ccid/src/ccid_serial.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Aug 19 13:58:14 UTC 2010
Author: rousseau
Date: Thu Aug 19 13:58:07 2010
New Revision: 5164
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5164
Log:
OpenSerialByName(): TOKEN_MAX_VALUE_SIZE is no more defined in parser.h
Use MAX_DEVICENAME defined as 255 in pcscd.h
Modified:
trunk/Drivers/ccid/src/ccid_serial.c
Modified: trunk/Drivers/ccid/src/ccid_serial.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_serial.c?rev=5164&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_serial.c (original)
+++ trunk/Drivers/ccid/src/ccid_serial.c Thu Aug 19 13:58:07 2010
@@ -641,7 +641,8 @@
{
struct termios current_termios;
unsigned int reader = reader_index;
- char reader_name[TOKEN_MAX_VALUE_SIZE] = "GemPCTwin";
+ /* 255 is MAX_DEVICENAME in pcscd.h */
+ char reader_name[255] = "GemPCTwin";
char *p;
status_t ret;
More information about the Pcsclite-cvs-commit
mailing list