Use platform's native types for recv() and send() arguments.

This commit is contained in:
Yang Tse
2006-07-12 05:19:00 +00:00
parent 10489879f7
commit 58176d1484
5 changed files with 70 additions and 20 deletions

View File

@@ -332,7 +332,7 @@ CURLcode Curl_write(struct connectdata *conn,
/* only TRUE if krb4 enabled */
bytes_written = Curl_sec_write(conn, sockfd, mem, len);
else
bytes_written = (ssize_t)swrite(sockfd, mem, len);
bytes_written = swrite(sockfd, mem, len);
if(-1 == bytes_written) {
int err = Curl_sockerrno();