diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-21 18:19:42 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-21 18:19:42 +0200 |
commit | 3cd36e36f924b2bf7a8719b5bca15733b81e2163 (patch) | |
tree | cfe177688383f918ed0b407799919cef2299c61f | |
parent | 7639fa582728adfc6d3fa51852fffc9ad519b526 (diff) |
tak: read_stream: maak uitvoer buffer zo groot als nodig
-rw-r--r-- | src/tak.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -98,6 +98,7 @@ static char *read_stream(FILE *stream, size_t *sz) { } } + res = realloc(res, *sz); return res; } |