aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-04-01 00:36:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-01 00:36:39 +0200
commit0614b902136347b1fb41f815d14c1423e206f874 (patch)
tree436c2c449843b506a57999bab3e5ff1b6ea735c9
parentc4d7c1514f73759cfb334b099aee9bfa4288852f (diff)
code-policed
-rw-r--r--lib/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c
index e1d865005..b277d912e 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -126,8 +126,8 @@ tcpkeepalive(struct SessionHandle *data,
optval = curlx_sltosi(data->set.tcp_keepintvl);
KEEPALIVE_FACTOR(optval);
vals.keepaliveinterval = optval;
- if (WSAIoctl(sockfd, SIO_KEEPALIVE_VALS, (LPVOID) &vals, sizeof(vals),
- NULL, 0, &dummy, NULL, NULL) != 0) {
+ if(WSAIoctl(sockfd, SIO_KEEPALIVE_VALS, (LPVOID) &vals, sizeof(vals),
+ NULL, 0, &dummy, NULL, NULL) != 0) {
infof(data, "Failed to set SIO_KEEPALIVE_VALS on fd %d: %d\n",
(int)sockfd, WSAGetLastError());
}