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.
This commit is contained in:
Jef Driesen 2018-12-05 19:34:59 +01:00
parent ed21d776dd
commit ab522a4a52

View File

@ -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
};