mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 838988 - Incorrect download status in nsIRequest::OnStopRequest r=honza
This commit is contained in:
parent
e67f726896
commit
40690d5324
@ -526,6 +526,8 @@ nsInputStreamPump::OnStateTransfer()
|
||||
rv = mAsyncStream->Available(&avail);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
return STATE_TRANSFER;
|
||||
if (rv != NS_BASE_STREAM_CLOSED)
|
||||
mStatus = rv;
|
||||
}
|
||||
}
|
||||
return STATE_STOP;
|
||||
|
Loading…
Reference in New Issue
Block a user