Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Commit e787f46

Browse files
committed
Fix loqui_buffer_ensure_size
1 parent 3e461df commit e787f46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c/buffer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ static inline int loqui_buffer_ensure_size(loqui_buffer_t *pk, size_t at_least_a
5252
return -1;
5353

5454
pk->allocated_size = at_least_allocated_size;
55+
pk->buf = buf;
5556
}
5657

5758
return 0;

0 commit comments

Comments
 (0)