diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-12-06 20:03:34 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-12-06 19:03:34 +0000 |
commit | f1ed3f00e2542cac4983a4bdc3edab3ae2646ddc (patch) | |
tree | 3fae140f6e8eba560a6f6edbbcde8524ab632350 /modules/pam_localuser/tst-pam_localuser-retval.c | |
parent | 66cb44437a5453e0b5eeffa20cf7c5b42f721279 (diff) | |
download | pam-f1ed3f00e2542cac4983a4bdc3edab3ae2646ddc.tar.gz pam-f1ed3f00e2542cac4983a4bdc3edab3ae2646ddc.tar.bz2 pam-f1ed3f00e2542cac4983a4bdc3edab3ae2646ddc.zip |
libpam: simplify _pam_tokenize internals
Since format is a constant, the table can be skipped. Use
strspn/strcspn instead which might even be optimized compared
to custom for loops.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_localuser/tst-pam_localuser-retval.c')
0 files changed, 0 insertions, 0 deletions