httpapi/tests: Initialize response_buffer to 0 (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bbd1e80d81
commit
a1953e4e2c
|
@ -614,6 +614,8 @@ static void test_v1_entity_body(void)
|
|||
ret = HttpSendHttpResponse(queue, req->RequestId, 0, (HTTP_RESPONSE *)&response, NULL, NULL, NULL, 0, NULL, NULL);
|
||||
ok(!ret, "Got error %u.\n", ret);
|
||||
|
||||
memset(response_buffer, 0, sizeof(response_buffer));
|
||||
|
||||
ret = recv(s, response_buffer, sizeof(response_buffer), 0);
|
||||
ok(ret > 0, "recv() failed.\n");
|
||||
if (winetest_debug > 1)
|
||||
|
|
Loading…
Reference in New Issue