mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
send: drop CURL_UNCONST() from buffer argument on most platforms
Keep it on platforms requiring a non-const buffer. These are AmigaOS and OS400. Also: - replace `SEND_QUAL_ARG2` with boolean macro `SEND_NONCONST_ARG2`. Closes #20463
This commit is contained in:
parent
d60f1006b0
commit
f95c79a988
7 changed files with 16 additions and 26 deletions
|
|
@ -1582,13 +1582,6 @@ $! Process SEND directives
|
|||
$!-------------------------------------
|
||||
$ if key2a .eqs. "SEND"
|
||||
$ then
|
||||
$ if key2 .eqs. "SEND_QUAL_ARG2"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
$ write tf "#define ''key2' const"
|
||||
$ write tf "#endif"
|
||||
$ goto cfgh_in_loop1
|
||||
$ endif
|
||||
$ if key2 .eqs. "SEND_TYPE_ARG1"
|
||||
$ then
|
||||
$ write tf "#ifndef ''key2'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue