ws2_32/tests: Initialize buffer to avoid valgrind warning.

This commit is contained in:
Marcus Meissner 2008-06-23 08:44:19 +02:00 committed by Alexandre Julliard
parent 81fee5208b
commit ebe7739987
1 changed files with 1 additions and 0 deletions

View File

@ -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" );