From 5c79f593162d5c9365487ce044d259c35c4467ac Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 30 Aug 2023 20:40:04 +0800 Subject: [PATCH] Change default allocation in xy_strjoin() --- helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.h b/helper.h index 14829e9..b1cc0e2 100644 --- a/helper.h +++ b/helper.h @@ -171,7 +171,7 @@ xy_2strjoin (const char* str1, const char* str2) static char* xy_strjoin (unsigned int count, ...) { - size_t al_fixed = 64; + size_t al_fixed = 128; char* ret = calloc(1, al_fixed); // 已分配次数 int al_times = 1;