Change #256518
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Tue 27 Jan 2026 19:58:48 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | a81ab3e6db370f31fca2fc67ca8bfda263f15caa |
Comments
tool_doswin: avoid Windowsisms in socket code For general readability. Also to match the rest of the source code. - `SOCKADDR` -> `struct sockaddr` - `SOCKADDR_IN` -> `struct sockaddr_in` - `== SOCKET_ERROR` -> `== -1` or silent `!= 0` Follow-up to 9a2663322c330ff11275abafd612e9c99407a94a #17572 Closes #20452
Changed files
- src/tool_doswin.c