mirror of
https://github.com/curl/curl.git
synced 2026-05-14 19:46:26 +03:00
urldata: shrink *select_bits int => unsigned char
- dselect_bits - cselect_bits ... are using less than 8 bits. Changed types and moved them towards the end of the structs to fit better. Closes #11025
This commit is contained in:
parent
acd82c8bfd
commit
65f03e507f
6 changed files with 16 additions and 16 deletions
|
|
@ -3222,7 +3222,7 @@ static CURLMcode multi_socket(struct Curl_multi *multi,
|
|||
|
||||
if(data->conn && !(data->conn->handler->flags & PROTOPT_DIRLOCK))
|
||||
/* set socket event bitmask if they're not locked */
|
||||
data->conn->cselect_bits = ev_bitmask;
|
||||
data->conn->cselect_bits = (unsigned char)ev_bitmask;
|
||||
|
||||
Curl_expire(data, 0, EXPIRE_RUN_NOW);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue