aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-30 09:32:02 +0000
committerYang Tse <yangsita@gmail.com>2009-04-30 09:32:02 +0000
commitc174b13f8b8820d7fd8bc67a1da26e9697e5aff3 (patch)
treeb42138dc53bafb8559d821c4c6b1311dfb5b0717
parent6b95c4e358f3bcaf60471353c54c5c32d596a536 (diff)
fix compiler warning: unused parameter
-rw-r--r--lib/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 7727bf017..d4b621f33 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -718,6 +718,7 @@ static void sndbufset(struct connectdata *conn,
curl_socket_t sockfd)
{
int val = CURL_MAX_WRITE_SIZE + 32;
+ (void)conn;
setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (const char *)&val, sizeof(val));
}
#else