mirror of
https://github.com/curl/curl.git
synced 2026-07-09 00:27:17 +03:00
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:
parent
acdeb7f50b
commit
52fa8d994d
2 changed files with 308 additions and 315 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue