From 9b8888e1b5253032b61fd09bb983d101920b7186 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sat, 8 Apr 2023 14:12:44 +0200 Subject: [PATCH] cstring: improve --- src/utils/cstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/cstring.c b/src/utils/cstring.c index 6dcdeba..07215e7 100644 --- a/src/utils/cstring.c +++ b/src/utils/cstring.c @@ -617,8 +617,8 @@ void cstring_change_case(cstring_t *self, int up) { free_cstring(rep); } +static char buffer[BUFFER_SIZE]; int cstring_readline(cstring_t *self, FILE *file) { - char buffer[BUFFER_SIZE]; size_t size = 0; int full_line; -- 2.27.0