Revert to rev 15172.
Modified: trunk/reactos/lib/kernel32/file/npipe.c
_____
Modified: trunk/reactos/lib/kernel32/file/npipe.c
--- trunk/reactos/lib/kernel32/file/npipe.c 2005-05-21 16:45:50 UTC
(rev 15460)
+++ trunk/reactos/lib/kernel32/file/npipe.c 2005-05-21 17:02:38 UTC
(rev 15461)
@@ -324,8 +324,7 @@
0);
/* return FALSE in case of failure and pending operations! */
- if ((!NT_SUCCESS(Status) && Status != STATUS_PIPE_CONNECTED) ||
- Status == STATUS_PENDING)
+ if (!NT_SUCCESS(Status) || Status == STATUS_PENDING)
{
SetLastErrorByStatus(Status);
return FALSE;
@@ -358,7 +357,7 @@
}
}
- if (!NT_SUCCESS(Status) && Status != STATUS_PIPE_CONNECTED)
+ if (!NT_SUCCESS(Status))
{
SetLastErrorByStatus(Status);
return FALSE;
Show replies by date