Reverted my last changes which allows to read from a listening pipe.

svn path=/trunk/; revision=14307
This commit is contained in:
Hartmut Birr 2005-03-25 11:45:48 +00:00
parent bb8e4bcd9e
commit 0341276444

View file

@ -283,8 +283,7 @@ NpfsReadFromPipe(PNPFS_CONTEXT Context)
goto done;
}
if (Fcb->PipeState != FILE_PIPE_CONNECTED_STATE &&
!(Fcb->PipeState == FILE_PIPE_LISTENING_STATE && Fcb->PipeEnd == FILE_PIPE_SERVER_END))
if (Fcb->PipeState != FILE_PIPE_CONNECTED_STATE)
{
DPRINT("PipeState: %x\n", Fcb->PipeState);
Status = STATUS_PIPE_BROKEN;