We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0284e4c commit 7b81ffcCopy full SHA for 7b81ffc
src/util/FFstrbuf.c
@@ -33,7 +33,7 @@ void ffStrbufEnsureFree(FFstrbuf* strbuf, uint32_t free)
33
return;
34
35
uint32_t allocate = strbuf->allocated;
36
- if(allocate < 2)
+ if(allocate < FASTFETCH_STRBUF_DEFAULT_ALLOC)
37
allocate = FASTFETCH_STRBUF_DEFAULT_ALLOC;
38
39
while((strbuf->length + free + 1) > allocate) // + 1 for the null byte
0 commit comments