From ab522a4a528b7afb82f8ec8fde47b77c53ead30b Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Wed, 5 Dec 2018 19:34:59 +0100 Subject: [PATCH] Increase the internal log buffer The Atomic Aquatics Cobalt backend uses 8K data packets. Since a hexdump of such a data packet needs at least twice the size of the binary data, the internal log buffer should be increased to 16K bytes. --- src/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.c b/src/context.c index 58009e1..63824a5 100644 --- a/src/context.c +++ b/src/context.c @@ -41,7 +41,7 @@ struct dc_context_t { dc_logfunc_t logfunc; void *userdata; #ifdef ENABLE_LOGGING - char msg[8192 + 32]; + char msg[16384 + 32]; dc_timer_t *timer; #endif };