diff options
author | Josselin Mouette <jmouette@src.gnome.org> | 2008-06-21 19:25:43 +0800 |
---|---|---|
committer | Josselin Mouette <jmouette@src.gnome.org> | 2008-06-21 19:25:43 +0800 |
commit | ffa6dac6b3a91632a2d3405db0c3f51e6be48979 (patch) | |
tree | 83979dc1cd7bbe8641d46a197656ef9512e52b40 | |
parent | bf744b454eb1b409d6d5000ef4decb1e9aed3b2f (diff) | |
download | gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.tar gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.tar.gz gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.tar.bz2 gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.tar.lz gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.tar.xz gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.tar.zst gsoc2013-epiphany-ffa6dac6b3a91632a2d3405db0c3f51e6be48979.zip |
Fix typos causing passwords not being correctly removed from the
password manager when using Gecko 1.9.
Patch by Mike Hommey, closes: #539418.
svn path=/branches/gnome-2-22/; revision=8287
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 4 |
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), |