code-policed
authorDaniel Stenberg <daniel@haxx.se>
Sun, 31 Mar 2013 22:36:39 +0000 (00:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 31 Mar 2013 22:36:39 +0000 (00:36 +0200)
lib/connect.c

index e1d86500514fc4486ed234f7fce0d0ce1825fc8f..b277d912eaaffa2595f124e06c454551e8f81bd5 100644 (file)
@@ -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());
     }