aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-02-19 23:08:35 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-02-19 23:35:08 +0100
commit55008f2f648b2ebb275d04607961d6bd4b9768ec (patch)
treefd64d1abf042ee3b9e44214a22a64fb5f65a9e50
parent1f8aa578a489905ed2d7443cfcdb73a3ff8d48ea (diff)
downloadslcl-55008f2f648b2ebb275d04607961d6bd4b9768ec.tar.gz
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.
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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++)
{