mirror of
https://github.com/curl/curl.git
synced 2026-08-10 14:00:57 +03:00
Fixed signed/unsigned convertion errors in Salford-C.
#ifdef around WSAEDISCON in strerror.c.
This commit is contained in:
parent
3cbb1b2b64
commit
12db20be4e
4 changed files with 6 additions and 5 deletions
|
|
@ -519,10 +519,11 @@ get_winsock_error (int err, char *buf, size_t len)
|
|||
case WSAEREMOTE:
|
||||
p = "Remote error";
|
||||
break;
|
||||
#ifdef WSAEDISCON /* missing in SalfordC! */
|
||||
case WSAEDISCON:
|
||||
p = "Disconnected";
|
||||
break;
|
||||
|
||||
#endif
|
||||
/* Extended Winsock errors */
|
||||
case WSASYSNOTREADY:
|
||||
p = "Winsock library is not ready";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue