aboutsummaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-06 05:24:13 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-06 05:51:53 +0100
commit61dc4f42b346931b5a67da4f46013fd5e2fb6ad3 (patch)
treec64745d26a92c0e6024352bebbd366340f1e4539 /auth.c
parentff8da797a143cb1dfbeb4ce2d2c3e4a1d0c2e56a (diff)
Perform some minor optimizations
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.c b/auth.c
index b3ed872..b56e072 100644
--- a/auth.c
+++ b/auth.c
@@ -295,7 +295,7 @@ int auth_login(const struct auth *const a, const char *const user,
goto end;
}
- cJSON *u;
+ const cJSON *u;
cJSON_ArrayForEach(u, users)
{