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/multi.c | |
parent | 3cbb1b2b64453c5504df5696ffbf72cb08e43f9c (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.c | 2 |
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); |