diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-02-28 02:38:15 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-02-28 02:38:15 +0800 |
commit | d8c89be1293cf71ee242f812b3c4552c3f5e8c66 (patch) | |
tree | 9bce1a7cb933c5bd5b11db35c03315c5c05d7b80 | |
parent | 6fb031c9945eff5102c55776a6898927daede351 (diff) | |
download | gsoc2013-epiphany-d8c89be1293cf71ee242f812b3c4552c3f5e8c66.tar.gz 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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2005-02-27 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/MozDownload.cpp: + + Try to fix the build with 1.7 branch. + +2005-02-27 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: 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) |