From 2d0918379de375299c4951d6d348c03aeac077c6 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 2 Jun 2024 22:16:11 +0800 Subject: [PATCH] [bot] Match `logprintf(...)` --- bot/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/main.cpp b/bot/main.cpp index 6155cec..870df2c 100644 --- a/bot/main.cpp +++ b/bot/main.cpp @@ -57,7 +57,7 @@ void logprintf(char* format, ...) va_list ap; va_start(ap, format); - char buffer[2048]; + char buffer[2049]; vsprintf(buffer, format, ap); #ifdef WIN32