diff --git a/mail/components/migration/src/nsDogbertProfileMigrator.cpp b/mail/components/migration/src/nsDogbertProfileMigrator.cpp index 5235fb15769..b3b8645240b 100644 --- a/mail/components/migration/src/nsDogbertProfileMigrator.cpp +++ b/mail/components/migration/src/nsDogbertProfileMigrator.cpp @@ -804,7 +804,7 @@ nsDogbertProfileMigrator::ProcessPrefsCallback(const char* oldProfilePathStr, co localMailFile = oldMOVEMAILMailPath; rv = GetSizes(localMailFile, PR_TRUE, &totalLocalMailSize); - localMailSpec->GetDiskSpaceAvailable(&localMailDrive); + localMailFile->GetDiskSpaceAvailable(&localMailDrive); } #endif //HAVE_MOVEMAIL