From 61dc4f42b346931b5a67da4f46013fd5e2fb6ad3 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 6 Mar 2023 05:24:13 +0100 Subject: Perform some minor optimizations --- auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth.c') 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) { -- cgit v1.2.3