]> git.ipfire.org Git - thirdparty/curl.git/commit
setopt: refactor out the booleans from setopt_long to setopt_bool 17887/head
authorDaniel Stenberg <daniel@haxx.se>
Tue, 29 Jul 2025 09:22:12 +0000 (11:22 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 29 Jul 2025 09:22:12 +0000 (11:22 +0200)
commit06af560fa8348b93a9e3af0b501de08f9849795e
treead8672059d4aa1b22d07cdc419c2ed404df45b72
parent55c045c86338bfcc1de676c496f1db084b7410d4
setopt: refactor out the booleans from setopt_long to setopt_bool

- add a message if a boolean is set to something not 1 or 0 (as it might be
  made to mean something else in a future)

- use 's->' in all setopt_* functions

Closes #17887
lib/setopt.c