change estrlcat back to strlcat

strlcat is used to here to purposely truncate the string
This commit is contained in:
Evan Gates 2015-03-24 13:43:04 -07:00 committed by sin
parent 8db1632409
commit b7886f3e67

2
sed.c
View File

@ -329,7 +329,7 @@ strnacat(String *dst, char *src, size_t n)
resize((void **)&dst->str, &dst->cap, 1, len * 2, NULL); resize((void **)&dst->str, &dst->cap, 1, len * 2, NULL);
if (new) if (new)
*dst->str = '\0'; *dst->str = '\0';
estrlcat(dst->str, src, len); strlcat(dst->str, src, len);
} }
void void