Prevent crash

pull/207/head
M66B 3 years ago
parent fc4ced56f4
commit c36104f030

@ -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…
Cancel
Save