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:
6a03f63
)
sockfilt.c: zero initialize variable
author
Marc Hoersken
<info@marc-hoersken.de>
Tue, 22 Apr 2014 12:53:16 +0000
(14:53 +0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Tue, 22 Apr 2014 15:22:42 +0000
(17:22 +0200)
tests/server/sockfilt.c
patch
|
blob
|
history
diff --git
a/tests/server/sockfilt.c
b/tests/server/sockfilt.c
index
0ceaae2
..
c4073ad
100644
(file)
--- a/
tests/server/sockfilt.c
+++ b/
tests/server/sockfilt.c
@@
-738,6
+738,7
@@
static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
}
else {
/* try to handle the event with the WINSOCK2 functions */
+ wsanetevents.lNetworkEvents = 0;
error = WSAEnumNetworkEvents(fds, handle, &wsanetevents);
if(error != SOCKET_ERROR) {
/* remove from descriptor set if not ready for read/accept/close */