fix bug 41702 [Double caching when fetching wallet tables], r,a=morse@netscape.com a=waterson@mozilla.org

This commit is contained in:
andreas.otte%primus-online.de 2000-06-08 21:35:03 +00:00
Родитель c950fa6d9b
Коммит 4cf9ec5cfc
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -425,7 +425,15 @@ NS_NewURItoFile(const char *in, nsFileSpec dirSpec, const char *out)
return rv;
}
/* Turn off the cache since we are doing our own caching of this file */
nsLoadFlags loadAttribs = 0;
pChannel->GetLoadAttributes(&loadAttribs);
loadAttribs |= nsIChannel::FORCE_RELOAD;
pChannel->SetLoadAttributes(loadAttribs);
/* Trigger the async download */
rv = pChannel->AsyncRead(listener, // IStreamListener consumer
nsnull); // ISupports context