fix for download regression, use the right variable (bug 241199, r=biesi)

This commit is contained in:
pinkerton%aol.net 2004-04-26 00:22:23 +00:00
Родитель 0d697aa19d
Коммит 942c71b10d
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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;