From: Daniel Stenberg Date: Thu, 7 May 2009 20:02:51 +0000 (+0000) Subject: Curl_sndbufset is (at times) defined in the header, no need to do it again here X-Git-Tag: curl-7_19_5~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ca321ca75c8f8ad6808bcfd786ad8e84c790aff;p=thirdparty%2Fcurl.git Curl_sndbufset is (at times) defined in the header, no need to do it again here --- diff --git a/lib/connect.c b/lib/connect.c index 930b2b039f..49914e82f6 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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