Fixed the test for named pipe creation
All credits goes to @akallabeth.
This commit is contained in:
parent
a9020a34c2
commit
bfb8593590
@ -402,7 +402,7 @@ static void* named_pipe_single_thread(void* arg)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (WriteFile(clients[i], sndbuf, sizeof(sndbuf), &dwWritten, NULL))
|
||||
if (WriteFile(servers[i], sndbuf, sizeof(sndbuf), &dwWritten, NULL))
|
||||
{
|
||||
printf("%s: Error WriteFile on server end should have failed after CloseHandle on client\n", __FUNCTION__);
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user