зеркало из https://github.com/mozilla/pjs.git
fix for download regression, use the right variable (bug 241199, r=biesi)
This commit is contained in:
Родитель
0d697aa19d
Коммит
942c71b10d
|
@ -74,7 +74,7 @@ nsDownloadListener::Init(nsIURI *aSource, nsIURI *aTarget, const PRUnichar *aDis
|
|||
// get the local file corresponding to the given target URI
|
||||
nsCOMPtr<nsILocalFile> targetFile;
|
||||
{
|
||||
nsCOMPtr<nsIFileURL> fileURL = do_QueryInterface(mDestination);
|
||||
nsCOMPtr<nsIFileURL> fileURL = do_QueryInterface(aTarget);
|
||||
if (fileURL)
|
||||
{
|
||||
nsCOMPtr<nsIFile> file;
|
||||
|
|
Загрузка…
Ссылка в новой задаче