Skip to content

Commit

Permalink
services/tests: Change pipe type from byte to message.
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
  • Loading branch information
bernhardu authored and julliard committed Oct 5, 2018
1 parent 543bfdf commit 099a12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/services/tests/service.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 099a12a

Please sign in to comment.