summaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-04-26 17:26:22 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-04-26 17:26:22 +0000
commit12db20be4e8b0130aba7342a1124eb85e3115822 (patch)
tree4d754b6232fe7b739396ff97060d3c90ecba27a1 /lib/strerror.c
parent3cbb1b2b64453c5504df5696ffbf72cb08e43f9c (diff)
downloadcurl-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.c3
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";