mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Prevent crash
This commit is contained in:
parent
fc4ced56f4
commit
c36104f030
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
void log_android(int prio, const char *fmt, ...) {
|
void log_android(int prio, const char *fmt, ...) {
|
||||||
if (prio >= ANDROID_LOG_DEBUG) {
|
if (prio >= ANDROID_LOG_DEBUG) {
|
||||||
char line[1024];
|
char line[4096];
|
||||||
va_list argptr;
|
va_list argptr;
|
||||||
va_start(argptr, fmt);
|
va_start(argptr, fmt);
|
||||||
vsprintf(line, fmt, argptr);
|
vsprintf(line, fmt, argptr);
|
||||||
|
|
Loading…
Reference in a new issue