aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-28 02:38:15 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-28 02:38:15 +0800
commitd8c89be1293cf71ee242f812b3c4552c3f5e8c66 (patch)
tree9bce1a7cb933c5bd5b11db35c03315c5c05d7b80 /embed
parent6fb031c9945eff5102c55776a6898927daede351 (diff)
downloadgsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar
gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar.gz
gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar.bz2
gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar.lz
gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar.xz
gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar.zst
gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.zip
Try to fix the build with 1.7 branch.
2005-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Try to fix the build with 1.7 branch.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/MozDownload.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 140eb98fc..248286ff1 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -60,6 +60,7 @@
#define MOZILLA_STRICT_API
#include <nsEmbedString.h>
#undef MOZILLA_STRICT_API
+#include <nsMemory.h>
#include <errno.h>
#include <stdlib.h>
@@ -379,8 +380,8 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest,
nsEmbedCString cDesc;
NS_UTF16ToCString (description, NS_CSTRING_ENCODING_UTF8, cDesc);
#else
- char *mimeType;
- rv = mMIMEInfo->GetMIMEType (&mimeType);
+ char *mime;
+ rv = mMIMEInfo->GetMIMEType (&mime);
NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE);
if (mime)