aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a5c382fef..3094d2dd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-22 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/mozilla-embed-single.cpp: (impl_remove_cookies):
+
+ Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739.
+
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
* src/popup-commands.c: (popup_cmd_bookmark_link):
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 7820afbde..3087ad801 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -902,9 +902,9 @@ impl_remove_cookies (EphyEmbedSingle *shell,
{
CookieInfo *c = (CookieInfo *)cl->data;
- result = cookieManager->Remove (NS_LITERAL_CSTRING(c->domain),
- NS_LITERAL_CSTRING(c->name),
- NS_LITERAL_CSTRING(c->path),
+ result = cookieManager->Remove (nsDependentCString(c->domain),
+ nsDependentCString(c->name),
+ nsDependentCString(c->path),
PR_FALSE);
if (NS_FAILED(result)) return G_FAILED;
};