[hackers] [sbase] change estrlcat back to strlcat || Evan Gates

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:54:21 +0100 (CET)

commit b7886f3e672bd40a8b1021b2182ae764df223423
Author: Evan Gates <evan.gates_AT_gmail.com>
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
_AT_@ -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
Received on Tue Mar 24 2015 - 23:54:21 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:12:29 CET