Bug 202638 make nsSocketTransport notify its observers when the

sockettransportservice initiated a detach (f.ex. because it's going offline)
r=darin sr=bz
This commit is contained in:
cbiesinger%web.de 2004-08-04 17:43:33 +00:00
Родитель 0cf7fb3e59
Коммит 873aa98bc1
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1449,7 +1449,8 @@ nsSocketTransport::OnSocketDetached(PRFileDesc *fd)
// condition up to our consumers. (e.g., STS is shutting down.)
if (NS_SUCCEEDED(mCondition))
mCondition = NS_ERROR_ABORT;
else if (RecoverFromError())
if (RecoverFromError())
mCondition = NS_OK;
else {
mState = STATE_CLOSED;