compiler is confused; giving it a more digestible meal

This commit is contained in:
scc%mozilla.org 2000-09-02 22:18:57 +00:00
parent d6e29d9b1e
commit 6e3c3421c6

View File

@ -828,7 +828,8 @@ nsFtpConnectionThread::S_user() {
message.AssignWithConversion("Enter username and password for "); //TODO localize it!
message.AppendWithConversion(host);
nsAutoString realm(NS_ConvertToString(host)); // XXX i18n
nsAutoString realm; // XXX i18n
CopyASCIItoUCS2(nsLiteralCString(NS_STATIC_CAST(const char*, host)), realm);
rv = proxyprompter->PromptUsernameAndPassword(nsnull,
message.GetUnicode(),
realm.GetUnicode(), nsIPrompt::SAVE_PASSWORD_PERMANENTLY,