[Pcsclite-cvs-commit] HandlerTest/Host debug.c,1.1,1.2
rousseau@quantz.debian.org
rousseau@quantz.debian.org
Mon, 22 Sep 2003 09:49:20 +0200
Update of /cvsroot/pcsclite/HandlerTest/Host
In directory quantz:/tmp/cvs-serv20206
Modified Files:
debug.c
Log Message:
the buffer was too small for large serial CCID frames
Index: debug.c
===================================================================
RCS file: /cvsroot/pcsclite/HandlerTest/Host/debug.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- debug.c 11 Aug 2003 16:36:48 -0000 1.1
+++ debug.c 22 Sep 2003 07:49:18 -0000 1.2
@@ -14,7 +14,7 @@
#include <stdio.h>
#include <string.h>
-#define DEBUG_BUF_SIZE (256*3+30)
+#define DEBUG_BUF_SIZE 4096 /* up to 1200 bytes to dump */
static char DebugBuffer[DEBUG_BUF_SIZE];