aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.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/multi.c
parent3cbb1b2b64453c5504df5696ffbf72cb08e43f9c (diff)
Fixed signed/unsigned convertion errors in Salford-C.
#ifdef around WSAEDISCON in strerror.c.
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index ee7e388fa..c0f9a7918 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -780,7 +780,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
/* if we failed anywhere, we must clean up the secondary socket if
it was used */
sclose(easy->easy_conn->sock[SECONDARYSOCKET]);
- easy->easy_conn->sock[SECONDARYSOCKET]=-1;
+ easy->easy_conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD;
}
Curl_posttransfer(easy->easy_handle);
Curl_done(&easy->easy_conn, easy->result);