fix: 修复 curl 测速异常输出导致的段错误

This commit is contained in:
JIA authored and 曾奥然 committed 2026-09-01 16:11:38 +08:00
1 parent b2b714d7bf
commit 53b12fabac
1 file changed
+1 -1
+1 -1
View File
@@ -124,7 +124,7 @@ parse_and_say_curl_result (char *curl_buf)
if (0==http_code)
{
char *msg = ENGLISH ? "ERROR curl output: " : "错误 curl 输出: ";
println (red (xy_strcat (3, msg, curl_buf)));
println (red (xy_2strcat (msg, curl_buf)));
}
else if (200!=http_code)
{