summaryrefslogtreecommitdiff
path: root/docs/examples/default-scheme.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2024-02-27 15:43:56 +0100
committerDaniel Gustafsson <daniel@yesql.se>2024-02-27 15:43:56 +0100
commit17d302e56221f5040092db77d4f85086e8a20e0e (patch)
treef4c84164ad5494823a6b8a01c702ea5ee747abcd /docs/examples/default-scheme.c
parentf0eacd94476b431bcea565f8f94e62e336e4fde0 (diff)
setopt: Fix disabling all protocols
When disabling all protocols without enabling any, the resulting set of allowed protocols remained the default set. Clearing the allowed set before inspecting the passed value from --proto make the set empty even in the errorpath of no protocols enabled. Co-authored-by: Dan Fandrich <dan@telarity.com> Reported-by: Dan Fandrich <dan@telarity.com> Reviewed-by: Daniel Stenberg <daniel@haxx.se> Closes: #13004
Diffstat (limited to 'docs/examples/default-scheme.c')
0 files changed, 0 insertions, 0 deletions