Skip to content

Commit

Permalink
tests server socksd
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Apr 29, 2024
1 parent 07f5755 commit 4dd290d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/server/socksd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4dd290d

Please sign in to comment.