commit 48aa9d406a9f961f3ab1b56ae38a20950f505588
parent e1fdd1e49326041e7cbd68876879e51b2a79e973
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 11 Jun 2019 21:07:19 +0200
fix typo in comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed.c b/sfeed.c
@@ -262,7 +262,7 @@ string_append(String *s, const char *data, size_t len)
{
if (!len)
return;
- /* check if allocation is necesary, don't shrink buffer,
+ /* check if allocation is necessary, don't shrink buffer,
* should be more than bufsiz ofcourse. */
if (s->len + len >= s->bufsiz)
string_buffer_realloc(s, s->len + len + 1);