Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)

r=warren
a=leaf


git-svn-id: svn://10.0.0.236/trunk@59785 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
2000-02-04 21:45:46 +00:00
parent 8b969cb123
commit 86330f79ee

View File

@@ -625,7 +625,8 @@ nsPipe::nsPipeOutputStream::WriteSegments(nsReadSegmentFun reader,
nsAutoCMonitor mon(pipe);
*writeCount = 0;
if (NS_FAILED(pipe->mCondition)) {
if (NS_FAILED(pipe->mCondition)
&& pipe->mCondition != NS_BASE_STREAM_CLOSED) {
rv = pipe->mCondition;
goto done;
}