commit b7886f3e672bd40a8b1021b2182ae764df223423
Author: Evan Gates <[email protected]>
Date: Tue Mar 24 13:43:04 2015 -0700
change estrlcat back to strlcat
strlcat is used to here to purposely truncate the string
diff --git a/sed.c b/sed.c
index 04f847f..0c7440e 100644
--- a/sed.c
+++ b/sed.c
@@ -329,7 +329,7 @@ strnacat(String *dst, char *src, size_t n)
resize((void **)&dst->str, &dst->cap, 1, len * 2, NULL);
if (new)
*dst->str = '\0';
- estrlcat(dst->str, src, len);
+ strlcat(dst->str, src, len);
}
void