mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Curl_sndbufset is (at times) defined in the header, no need to do it again here
This commit is contained in:
parent
9c788a529b
commit
6ca321ca75
@ -719,8 +719,6 @@ void Curl_sndbufset(curl_socket_t sockfd)
|
||||
int val = CURL_MAX_WRITE_SIZE + 32;
|
||||
setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (const char *)&val, sizeof(val));
|
||||
}
|
||||
#else
|
||||
#define Curl_sndbufset(y)
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user