projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b95c4e
)
fix compiler warning: unused parameter
author
Yang Tse
<yangsita@gmail.com>
Thu, 30 Apr 2009 09:32:02 +0000
(09:32 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 30 Apr 2009 09:32:02 +0000
(09:32 +0000)
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index
7727bf0
..
d4b621f
100644
(file)
--- 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