whoops, use newsrcDir instead of newsHostsDir, to be correct.

This commit is contained in:
sspitzer%netscape.com 1999-09-08 05:46:10 +00:00
parent 63c1710457
commit cf6defee8a

View File

@ -1886,13 +1886,12 @@ nsMsgAccountManager::MigrateNewsAccounts(nsIMsgIdentity *identity)
nsFileSpec oldRcFile(filename);
char *leaf = oldRcFile.GetLeafName();
nsFileSpec rcFile(newsHostsDir);
nsFileSpec rcFile(newsrcDir);
rcFile += leaf;
nsCRT::free(leaf);
leaf = nsnull;
#else
// use news.directory instead of newsDir?
nsFileSpec rcFile(newsHostsDir);
nsFileSpec rcFile(newsrcDir);
rcFile += filename;
#endif /* NEWS_FAT_STORES_ABSOLUTE_NEWSRC_FILE_PATHS */