зеркало из https://github.com/mozilla/pjs.git
Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott
This commit is contained in:
Родитель
6e0ed846bb
Коммит
813f04865f
|
@ -625,8 +625,7 @@ nsPipe::nsPipeOutputStream::WriteSegments(nsReadSegmentFun reader,
|
|||
nsAutoCMonitor mon(pipe);
|
||||
|
||||
*writeCount = 0;
|
||||
if (NS_FAILED(pipe->mCondition)
|
||||
&& pipe->mCondition != NS_BASE_STREAM_CLOSED) {
|
||||
if (NS_FAILED(pipe->mCondition)) {
|
||||
rv = pipe->mCondition;
|
||||
goto done;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче