mirror of
https://github.com/curl/curl.git
synced 2026-08-26 07:13:32 +03:00
urldata: cleanups
- sockindex: int -> int8_t - move connectdata members around for fun and profit - remove data->state.current_speed as unused - remove data->state.trailers_bytes_sent as unsed - remove data->state.trailers_buf as unsed The sockindex type change spread a little. Closes #22604
This commit is contained in:
parent
722362d87b
commit
c437d28c76
33 changed files with 228 additions and 237 deletions
|
|
@ -2320,7 +2320,7 @@ struct Curl_cftype Curl_cft_tcp_accept = {
|
|||
|
||||
CURLcode Curl_conn_tcp_listen_set(struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
int sockindex, curl_socket_t *s)
|
||||
int8_t sockindex, curl_socket_t *s)
|
||||
{
|
||||
CURLcode result;
|
||||
struct Curl_cfilter *cf = NULL;
|
||||
|
|
@ -2360,7 +2360,7 @@ out:
|
|||
}
|
||||
|
||||
bool Curl_conn_is_tcp_listen(struct Curl_easy *data,
|
||||
int sockindex)
|
||||
int8_t sockindex)
|
||||
{
|
||||
struct Curl_cfilter *cf = data->conn->cfilter[sockindex];
|
||||
while(cf) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue