summary refs log tree commit diff
path: root/buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'buf.c')
-rw-r--r--buf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/buf.c b/buf.c
index 1f0e2b3..8460631 100644
--- a/buf.c
+++ b/buf.c
@@ -12,6 +12,7 @@ void buf_init(buf_t *b, size_t n) {
 	b->sz = 0;
 }
 
+/* does NOT change sz! just makes room */
 void buf_grow(buf_t *b, size_t n) {
 	size_t sz = b->sz + n;
 	size_t c = b->cap;