summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-09-05 22:06:28 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-09-05 22:06:28 +0200
commit1210d6804f6a7ed8e9b1e263d98cc5b17f935206 (patch)
tree8af4e184ac16f48e3c5712f40cde3bd83734b2fc
parent7b8c57549b6748bd9405b211bb9aaba90aabaa75 (diff)
sfeed.c: 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 66b5c28..bb79d34 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -263,7 +263,7 @@ string_append(String *s, const char *data, size_t len)
if (!len)
return;
/* check if allocation is necessary, don't shrink buffer,
- * should be more than bufsiz ofcourse. */
+ * should be more than bufsiz of course. */
if (s->len + len >= s->bufsiz)
string_buffer_realloc(s, s->len + len + 1);
memcpy(s->data + s->len, data, len);