Increase the internal log buffer.
With the switch to 4K data packets in the Icon HD backend, the internal log buffer is no longer large enough for hexdumps of these data packets. A hexdump needs twice the size of the binary data, plus some extra bytes for the header and the terminating null byte.
This commit is contained in:
parent
d395a31378
commit
db4d35cd3d
@ -38,7 +38,7 @@ struct dc_context_t {
|
||||
dc_logfunc_t logfunc;
|
||||
void *userdata;
|
||||
#ifdef ENABLE_LOGGING
|
||||
char msg[4096];
|
||||
char msg[8192 + 32];
|
||||
#ifdef _WIN32
|
||||
DWORD timestamp;
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user