projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2554253
)
socket: WSAIoctl was called with wrong params
author
Marko Kreen
<markokr@gmail.com>
Mon, 6 Sep 2010 05:20:42 +0000
(08:20 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Mon, 6 Sep 2010 05:20:42 +0000
(08:20 +0300)
usual/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/usual/socket.c
b/usual/socket.c
index 7b7ce60ccf958a191e032d29c3cac84894ca9ddf..bb9a93126bd51b21135b8f3bec5d5fd8d192ecff 100644
(file)
--- a/
usual/socket.c
+++ b/
usual/socket.c
@@
-138,7
+138,7
@@
bool socket_set_keepalive(int fd, int onoff, int keepidle, int keepintvl, int ke
vals.onoff = 1;
vals.keepalivetime = keepidle * 1000;
vals.keepaliveinterval = keepintvl * 1000;
- res = WSAIoctl(fd, SIO_KEEPALIVE_VALS, &vals, sizeof(vals), NULL, 0, &outlen, NULL, NULL
, NULL, NULL
);
+ res = WSAIoctl(fd, SIO_KEEPALIVE_VALS, &vals, sizeof(vals), NULL, 0, &outlen, NULL, NULL);
if (res != 0)
return false;
}