]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_operate: url_proto improvements
authorDaniel Stenberg <daniel@haxx.se>
Tue, 29 Oct 2024 08:21:37 +0000 (09:21 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 29 Oct 2024 09:07:37 +0000 (10:07 +0100)
commit84f96e3363cd87f0e3edf0f372ba9d68d8cfb0e9
tree0f5ec6148189429dca18940bd20bf45904a5d8bc
parenta273cc255f6c3b08a2576e0a1f70ea5661e6e460
tool_operate: url_proto improvements

- renamed to url_proto_and_rewrite to better reveal what it does
- clarify the functionality in the top comment
- make it return CURLE_OUT_OF_MEMORY appropriately
- remove check for URL being set, use assert instead

Closes #15442
src/tool_operate.c