=?UTF-8?Q?Bernhard=20=C3=9Cbelacker=20?=: services/tests: Change pipe type from byte to message.

Alexandre Julliard julliard at winehq.org
Fri Oct 5 16:40:40 CDT 2018


Module: wine
Branch: master
Commit: 099a12ad40ed8b1a88fbaf546576483831acd266
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=099a12ad40ed8b1a88fbaf546576483831acd266

Author: Bernhard Übelacker <bernhardu at mailbox.org>
Date:   Fri Oct  5 15:49:21 2018 +0200

services/tests: Change pipe type from byte to message.

Signed-off-by: Bernhard Übelacker <bernhardu at mailbox.org>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/services/tests/service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/services/tests/service.c b/programs/services/tests/service.c
index c68d37a..aaae680 100644
--- a/programs/services/tests/service.c
+++ b/programs/services/tests/service.c
@@ -589,7 +589,7 @@ static void test_runner(void (*p_run_test)(void))
     sprintf(named_pipe_name, "\\\\.\\pipe\\%s_pipe", service_name);
 
     pipe_handle = CreateNamedPipeA(named_pipe_name, PIPE_ACCESS_INBOUND,
-                                   PIPE_TYPE_BYTE|PIPE_READMODE_BYTE|PIPE_WAIT, 10, 2048, 2048, 10000, NULL);
+                                   PIPE_TYPE_MESSAGE|PIPE_READMODE_MESSAGE|PIPE_WAIT, 10, 2048, 2048, 10000, NULL);
     ok(pipe_handle != INVALID_HANDLE_VALUE, "CreateNamedPipe failed: %u\n", GetLastError());
     if(pipe_handle == INVALID_HANDLE_VALUE)
         return;




More information about the wine-cvs mailing list