summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-06-11 21:07:19 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-06-11 21:07:19 +0200
commit48aa9d406a9f961f3ab1b56ae38a20950f505588 (patch)
treef550aff90ca2d93e85ab6615a4dfc9c84b10008e
parente1fdd1e49326041e7cbd68876879e51b2a79e973 (diff)
fix typo in comment
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index 1fb43b6..e5faa05 100644
--- 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);