aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index e87bf6216..63ac7fb12 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -1090,7 +1090,7 @@ impl_remove_password (EphyPasswordManager *manager,
if (info->host)
NS_CStringToUTF16 (nsCString(info->host),
- NS_CSTRING_ENCODING_UTF8, userName);
+ NS_CSTRING_ENCODING_UTF8, host);
else
host.SetIsVoid (PR_TRUE);
@@ -1104,7 +1104,7 @@ impl_remove_password (EphyPasswordManager *manager,
NS_CStringToUTF16 (nsCString(info->httpRealm),
NS_CSTRING_ENCODING_UTF8, httpRealm);
else
- userName.SetIsVoid (PR_TRUE);
+ httpRealm.SetIsVoid (PR_TRUE);
if (info->password)
NS_CStringToUTF16 (nsCString(info->password),