diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-02-19 23:08:35 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-02-19 23:35:08 +0100 |
| commit | 55008f2f648b2ebb275d04607961d6bd4b9768ec (patch) | |
| tree | fd64d1abf042ee3b9e44214a22a64fb5f65a9e50 | |
| parent | 1f8aa578a489905ed2d7443cfcdb73a3ff8d48ea (diff) | |
| download | slcl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++) { |
