From e6f3f9bb085432f488c688f256d699453fe6cb89 Mon Sep 17 00:00:00 2001 From: sth Date: Mon, 8 Sep 2003 13:38:07 +0000 Subject: [PATCH] Increase log buffer size, so that 255 hex bytes still can be logged git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1429 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/libopensc/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libopensc/log.c b/src/libopensc/log.c index 0a897dd6..4756fe17 100644 --- a/src/libopensc/log.c +++ b/src/libopensc/log.c @@ -92,7 +92,7 @@ void sc_do_log(struct sc_context *ctx, int type, const char *file, int line, con void sc_do_log_va(struct sc_context *ctx, int type, const char *file, int line, const char *func, const char *format, va_list args) { FILE *outf = NULL; - char buf[1024], *p; + char buf[1536], *p; int left, r; const char *color_pfx = "", *color_sfx = "";