mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:53:39 +03:00
cfilter: send uint8_t bytes
Change the send parameter from `const void *` to `const uint8_t *` and adapt calling code. Several had already unsigned chars and were casting. Closes #19729
This commit is contained in:
parent
1e048e932a
commit
56e88e7c14
18 changed files with 53 additions and 54 deletions
|
|
@ -133,7 +133,7 @@ static CURLcode cf_haproxy_connect(struct Curl_cfilter *cf,
|
|||
if(len > 0) {
|
||||
size_t nwritten;
|
||||
result = Curl_conn_cf_send(cf->next, data,
|
||||
curlx_dyn_ptr(&ctx->data_out), len, FALSE,
|
||||
curlx_dyn_uptr(&ctx->data_out), len, FALSE,
|
||||
&nwritten);
|
||||
if(result) {
|
||||
if(result != CURLE_AGAIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue