From 55008f2f648b2ebb275d04607961d6bd4b9768ec Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 19 Feb 2024 23:08:35 +0100 Subject: [PATCH] main.c: const-qualify name and dir There was no reason why these should not be const-qualified. It was probably missed during the implementation. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b9f0b50..fd47140 100644 --- a/main.c +++ b/main.c @@ -1383,7 +1383,7 @@ static int createdir(const struct http_payload *const p, goto end; } - char *name = NULL, *dir = NULL; + const char *name = NULL, *dir = NULL; for (size_t i = 0; i < n; i++) {