MIGRATE_STR_PREF("???nntp.server.%s.userName",hostname,server,SetUsername)
MIGRATE_STR_PREF("???nntp.server.%s.userName",hostAndPort,server,SetUsername)
nsMsgAccountManager::MigrateOldNntpPrefs(nsIMsgIncomingServer *server, const char *hostname, nsFileSpec & newsrcfile){  nsresult rv;    // some of this ought to be moved out into the NNTP implementation  nsCOMPtr<nsINntpIncomingServer> nntpServer;  nntpServer = do_QueryInterface(server, &rv);  if (NS_FAILED(rv)) return rv;  MIGRATE_SIMPLE_INT_PREF(PREF_4X_NEWS_NOTIFY_SIZE,nntpServer,SetNotifySize)  MIGRATE_SIMPLE_BOOL_PREF(PREF_4X_NEWS_NOTIFY_ON,nntpServer,SetNotifyOn)  MIGRATE_SIMPLE_BOOL_PREF(PREF_4X_NEWS_MARK_OLD_READ,nntpServer,SetMarkOldRead)  MIGRATE_SIMPLE_INT_PREF(PREF_4X_NEWS_MAX_ARTICLES,nntpServer,SetMaxArticles)                #ifdef SUPPORT_SNEWS#error THIS_CODE_ISNT_DONE_YET  MIGRATE_STR_PREF("???nntp.server.%s.userName",hostname,server,SetUsername)#ifdef CAN_UPGRADE_4x_PASSWORDS  MIGRATE_STR_PREF("???nntp.server.%s.password",hostname,server,SetPassword)#endif /* CAN_UPGRADE_4x_PASSWORDS */#endif /* SUPPORT_SNEWS */	  nsCOMPtr <nsIFileSpec> path;  rv = NS_NewFileSpecWithSpec(newsrcfile, getter_AddRefs(path));  if (NS_FAILED(rv)) return rv;  nntpServer->SetNewsrcFilePath(path);      return NS_OK;}