From 9017581a14678d2ec6973949ee38d3a3de69b948 Mon Sep 17 00:00:00 2001 From: Peter Hater <7element@mail.bg> Date: Mon, 10 Oct 2016 06:48:56 +0000 Subject: [PATCH] [WS2_32_APITESTS] Fix helper by not shutting down send. This way it breaks the test on windows also. svn path=/trunk/; revision=72949 --- rostests/apitests/ws2_32/helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rostests/apitests/ws2_32/helpers.c b/rostests/apitests/ws2_32/helpers.c index 35bdfda2b09..595f9b5b570 100644 --- a/rostests/apitests/ws2_32/helpers.c +++ b/rostests/apitests/ws2_32/helpers.c @@ -54,10 +54,10 @@ int GetRequestAndWait(SOCKET sck) /* Send the GET request */ SCKTEST(send(sck, szGetRequest, strlen(szGetRequest), 0)); ok(iResult == strlen(szGetRequest), "iResult = %d\n", iResult); - +#if 0 /* breaks windows too */ /* Shutdown the SEND connection */ SCKTEST(shutdown(sck, SD_SEND)); - +#endif /* Wait until we're ready to read */ FD_ZERO(&readable); FD_SET(sck, &readable);