This commit is contained in:
dougt%netscape.com 2001-02-21 23:02:29 +00:00
Родитель 6322a17f43
Коммит e306ca0364
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -175,14 +175,14 @@ nsFileTransportService::DispatchRequest(nsIRunnable* runnable)
nsresult
nsFileTransportService::AddSuspendedTransport(nsITransport* trans)
{
mSuspendedTransportList.AppendElement(NS_STATIC_CAST(nsISupports*, trans));
NS_STATIC_CAST(nsISupportsArray*, &mSuspendedTransportList)->AppendElement(trans);
return NS_OK;
}
nsresult
nsFileTransportService::RemoveSuspendedTransport(nsITransport* trans)
{
mSuspendedTransportList.RemoveElement(NS_STATIC_CAST(nsISupports*, trans));
NS_STATIC_CAST(nsISupportsArray*, &mSuspendedTransportList)->RemoveElement(trans);
return NS_OK;
}