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.
This commit is contained in:
Xavier Del Campo Romero 2024-02-19 23:08:35 +01:00
parent 1f8aa578a4
commit 55008f2f64
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -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++)
{