http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81fee52
)
ws2_32/tests: Initialize buffer to avoid valgrind warning.
author
Marcus Meissner
<marcus@jet.franken.de>
Mon, 23 Jun 2008 06:44:19 +0000
(08:44 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 23 Jun 2008 12:09:57 +0000
(14:09 +0200)
dlls/ws2_32/tests/sock.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ws2_32/tests/sock.c
b/dlls/ws2_32/tests/sock.c
index 79d2aebc08972f18974cae4553952b7b51de8554..1256c2dcb736509da2248ada4845d10971c0694d 100644
(file)
--- a/
dlls/ws2_32/tests/sock.c
+++ b/
dlls/ws2_32/tests/sock.c
@@
-1127,6
+1127,7
@@
static void test_UDP(void)
char buf[16];
int ss, i, n_recv, n_sent;
+ memset (buf,0,sizeof(buf));
for ( i = NUM_UDP_PEERS - 1; i >= 0; i-- ) {
ok ( ( peer[i].s = socket ( AF_INET, SOCK_DGRAM, 0 ) ) != INVALID_SOCKET, "UDP: socket failed\n" );