diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-04-26 17:26:22 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-04-26 17:26:22 +0000 |
commit | 12db20be4e8b0130aba7342a1124eb85e3115822 (patch) | |
tree | 4d754b6232fe7b739396ff97060d3c90ecba27a1 /lib/strerror.c | |
parent | 3cbb1b2b64453c5504df5696ffbf72cb08e43f9c (diff) | |
download | curl-12db20be4e8b0130aba7342a1124eb85e3115822.tar.gz |
Fixed signed/unsigned convertion errors in Salford-C.
#ifdef around WSAEDISCON in strerror.c.
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index b035e6772..faa750856 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -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"; |