Fixed signed/unsigned convertion errors in Salford-C.

#ifdef around WSAEDISCON in strerror.c.
This commit is contained in:
Gisle Vanem 2006-04-26 17:26:22 +00:00
parent 3cbb1b2b64
commit 12db20be4e
4 changed files with 6 additions and 5 deletions

View file

@ -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);