mirror of
https://github.com/curl/curl.git
synced 2026-08-03 12:40:34 +03:00
tests: tidy up types in server code
Cherry-picked from #13489 Closes #13610
This commit is contained in:
parent
7333faf00b
commit
0c49ea4ff2
7 changed files with 29 additions and 29 deletions
|
|
@ -620,7 +620,7 @@ static curl_socket_t sockit(curl_socket_t fd)
|
|||
memcpy(&response[SOCKS5_BNDADDR + len],
|
||||
&buffer[SOCKS5_DSTADDR + len], sizeof(socksport));
|
||||
|
||||
rc = (send)(fd, (char *)response, (size_t)(len + 6), 0);
|
||||
rc = (send)(fd, (char *)response, (SEND_TYPE_ARG3)(len + 6), 0);
|
||||
if(rc != (len + 6)) {
|
||||
logmsg("Sending connect response failed!");
|
||||
return CURL_SOCKET_BAD;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue