diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2024-02-22 17:04:15 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-02-22 16:04:15 +0000 |
commit | dc370deab4752c264c20e16684d02692532c351b (patch) | |
tree | 5508495ee1479f6c2b07991dd6c216732ed1a22c /modules/pam_ftp/pam_ftp.c | |
parent | bcc3b81b920491fa9ec94e3fc584cf7384e8380d (diff) | |
download | pam-dc370deab4752c264c20e16684d02692532c351b.tar.gz pam-dc370deab4752c264c20e16684d02692532c351b.tar.bz2 pam-dc370deab4752c264c20e16684d02692532c351b.zip |
conf/modules: constify read-only data arrays
Diffstat (limited to 'modules/pam_ftp/pam_ftp.c')
-rw-r--r-- | modules/pam_ftp/pam_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_ftp/pam_ftp.c b/modules/pam_ftp/pam_ftp.c index 41fb9f48..cfb0f177 100644 --- a/modules/pam_ftp/pam_ftp.c +++ b/modules/pam_ftp/pam_ftp.c @@ -84,7 +84,7 @@ static int lookup(const char *name, const char *list, char **_user) } } else { #define MAX_L 2 - static const char *l[MAX_L] = { "ftp", "anonymous" }; + static const char *const l[MAX_L] = { "ftp", "anonymous" }; int i; for (i=0; i<MAX_L; ++i) { |