aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_localuser/tst-pam_localuser-retval.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-12-06 20:03:34 +0100
committerDmitry V. Levin <ldv@strace.io>2023-12-06 19:03:34 +0000
commitf1ed3f00e2542cac4983a4bdc3edab3ae2646ddc (patch)
tree3fae140f6e8eba560a6f6edbbcde8524ab632350 /modules/pam_localuser/tst-pam_localuser-retval.c
parent66cb44437a5453e0b5eeffa20cf7c5b42f721279 (diff)
downloadpam-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