Change #256542
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Wed 28 Jan 2026 03:26:45 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | a4e2232c434473c0a1175f2bd2576673aa8c4692 |
Comments
tool_doswin: avoid Windowsisms in socket code (cont.) For general readability. Also to match the rest of the source code. - bump `send()` result type from `int` to `ssize_t`. - fix an `int` to be `curl_socklen_t`. - `.S_un.S_addr` -> `.s_addr`. - `SD_RECEIVE` -> `SHUT_RD`. - `SD_SEND` -> `SHUT_WR`. Follow-up to a81ab3e6db370f31fca2fc67ca8bfda263f15caa #20452 Follow-up to 9a2663322c330ff11275abafd612e9c99407a94a #17572 Closes #20457
Changed files
- src/tool_doswin.c