]> git.ipfire.org Git - thirdparty/curl.git/commit
setopt: split Curl_vsetopt() into several sub functions
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Oct 2024 14:48:05 +0000 (16:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Oct 2024 21:09:48 +0000 (23:09 +0200)
commit30da1f5974d34841b30c4fac3fa5837386f15589
tree0981d64de050f95465e14b6afbecb2c336dc5988
parentb3816f67b92b3031353ccb008340edd6a76f14b4
setopt: split Curl_vsetopt() into several sub functions

Reduce the ~3000 line super function into smaller pieces, easier to read and
manage.

Extract the option's argument earlier and use a fixed type instead of using
va_arg() everywhere.

Closes #15376
lib/setopt.c