Change default allocation in xy_strjoin()

This commit is contained in:
Aoran Zeng 2023-08-30 20:40:04 +08:00
parent 5f21fb7694
commit 5c79f59316

View File

@ -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;