setopt: refactor setopt_cptr into smaller helper functions

This takes down the longest function to sub 500 lines

Closes #22095
This commit is contained in:
Daniel Stenberg 2026-06-18 18:21:52 +02:00
parent acdeb7f50b
commit 52fa8d994d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 308 additions and 315 deletions

View file

@ -77,7 +77,6 @@ close($pmc);
# these functions can be this long, but not longer
my %whitelist = (
'setopt_cptr' => 674,
);
# function length above this level is treated as an error and contributes to